AI-generated Key Takeaways
-
StorageInfo.Builderis used to buildStorageInfoobjects. -
The builder includes methods to set the count of alive documents and namespaces.
-
You can set the size in bytes for the storage information using the builder.
-
The
build()method creates the finalStorageInfoobject.
Builder for StorageInfo
objects.
Public Constructor Summary
|
Builder()
|
Public Method Summary
| StorageInfo |
build()
Builds a
StorageInfo
object.
|
| StorageInfo.Builder |
setAliveDocumentsCount(int aliveDocumentsCount)
Sets the number of alive documents.
|
| StorageInfo.Builder |
setAliveNamespacesCount(int aliveNamespacesCount)
Sets the number of alive namespaces.
|
| StorageInfo.Builder |
setSizeBytes(long sizeBytes)
Sets the size in bytes.
|
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public StorageInfo build ()
Builds a StorageInfo
object.
public StorageInfo.Builder setAliveDocumentsCount (int aliveDocumentsCount)
Sets the number of alive documents.
public StorageInfo.Builder setAliveNamespacesCount (int aliveNamespacesCount)
Sets the number of alive namespaces.
public StorageInfo.Builder setSizeBytes (long sizeBytes)
Sets the size in bytes.