StorageInfo.Builder


class StorageInfo.Builder


Builder for StorageInfo objects.

Summary

Public constructors

Public functions

StorageInfo

Builds a StorageInfo object.

StorageInfo.Builder
setAliveDocumentsCount(aliveDocumentsCount: Int)

Sets the number of alive documents.

StorageInfo.Builder
setAliveNamespacesCount(aliveNamespacesCount: Int)

Sets the number of alive namespaces.

StorageInfo.Builder
setSizeBytes(sizeBytes: Long)

Sets the size in bytes.

Public constructors

Builder

Added in 1.1.0-alpha06
Builder()

Public functions

build

Added in 1.1.0-alpha06
fun build(): StorageInfo

Builds a StorageInfo object.

setAliveDocumentsCount

Added in 1.1.0-alpha06
fun setAliveDocumentsCount(aliveDocumentsCount: Int): StorageInfo.Builder

Sets the number of alive documents.

setAliveNamespacesCount

Added in 1.1.0-alpha06
fun setAliveNamespacesCount(aliveNamespacesCount: Int): StorageInfo.Builder

Sets the number of alive namespaces.

setSizeBytes

Added in 1.1.0-alpha06
fun setSizeBytes(sizeBytes: Long): StorageInfo.Builder

Sets the size in bytes.