public class ObjectStoreStatus
extends java.lang.Object
| Constructor and Description |
|---|
ObjectStoreStatus(StreamInfo si) |
| Modifier and Type | Method and Description |
|---|---|
@NonNull java.lang.String |
getBackingStore()
Gets the name of the type of backing store, currently only "JetStream"
|
@NonNull StreamInfo |
getBackingStreamInfo()
Gets the info for the stream which backs the bucket.
|
@NonNull java.lang.String |
getBucketName()
Get the name of the object store
|
@NonNull ObjectStoreConfiguration |
getConfiguration()
Gets the configuration object directly
|
@Nullable java.lang.String |
getDescription()
Gets the description of this bucket.
|
long |
getMaxBucketSize()
Gets the maximum number of bytes for this bucket.
|
@Nullable java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Get the metadata for the store
|
@Nullable Placement |
getPlacement()
Gets the placement directive for the store.
|
int |
getReplicas()
Gets the number of replicas for this store.
|
long |
getSize()
Get the combined size of all data in the bucket including metadata, in bytes
|
@NonNull StorageType |
getStorageType()
Gets the storage type for this bucket.
|
@Nullable java.time.Duration |
getTtl()
Gets the maximum age for a value in this store.
|
boolean |
isCompressed()
Gets the state of compression
|
boolean |
isSealed()
If true, indicates the store is sealed and cannot be modified in any way
|
java.lang.String |
toString() |
public ObjectStoreStatus(StreamInfo si)
public @NonNull java.lang.String getBucketName()
public @Nullable java.lang.String getDescription()
public @NonNull StreamInfo getBackingStreamInfo()
public @NonNull ObjectStoreConfiguration getConfiguration()
public long getSize()
public long getMaxBucketSize()
public boolean isSealed()
public @Nullable java.time.Duration getTtl()
public @NonNull StorageType getStorageType()
public int getReplicas()
public @Nullable Placement getPlacement()
public boolean isCompressed()
public @Nullable java.util.Map<java.lang.String,java.lang.String> getMetadata()
public @NonNull java.lang.String getBackingStore()
public java.lang.String toString()
toString in class java.lang.Object