StorageInfo.Builder

public final class StorageInfo.Builder


Builder for StorageInfo objects.

Summary

Public constructors

Public methods

@NonNull StorageInfo

Builds a StorageInfo object.

@NonNull StorageInfo.Builder
setAliveDocumentsCount(int aliveDocumentsCount)

Sets the number of alive documents.

@NonNull StorageInfo.Builder
setAliveNamespacesCount(int aliveNamespacesCount)

Sets the number of alive namespaces.

@NonNull StorageInfo.Builder
setSizeBytes(long sizeBytes)

Sets the size in bytes.

Public constructors

Builder

Added in 1.1.0-alpha04
public Builder()

Public methods

build

Added in 1.1.0-alpha04
public @NonNull StorageInfo build()

Builds a StorageInfo object.

setAliveDocumentsCount

Added in 1.1.0-alpha04
public @NonNull StorageInfo.Builder setAliveDocumentsCount(int aliveDocumentsCount)

Sets the number of alive documents.

setAliveNamespacesCount

Added in 1.1.0-alpha04
public @NonNull StorageInfo.Builder setAliveNamespacesCount(int aliveNamespacesCount)

Sets the number of alive namespaces.

setSizeBytes

Added in 1.1.0-alpha04
public @NonNull StorageInfo.Builder setSizeBytes(long sizeBytes)

Sets the size in bytes.