public class ObjectStoreStatus
extends java.lang.Object
Constructor and Description |
---|
ObjectStoreStatus(StreamInfo si) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBackingStore()
Gets the name of the type of backing store, currently only "JetStream"
|
StreamInfo |
getBackingStreamInfo()
Gets the info for the stream which backs the bucket.
|
java.lang.String |
getBucketName()
Get the name of the object store
|
ObjectStoreConfiguration |
getConfiguration()
Gets the configuration object directly
|
java.lang.String |
getDescription()
Gets the description of this bucket.
|
long |
getMaxBucketSize()
Gets the maximum number of bytes for this bucket.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Get the metadata for the store
|
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
|
StorageType |
getStorageType()
Gets the storage type for this bucket.
|
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 java.lang.String getBucketName()
public java.lang.String getDescription()
public StreamInfo getBackingStreamInfo()
public ObjectStoreConfiguration getConfiguration()
public long getSize()
public long getMaxBucketSize()
public boolean isSealed()
public java.time.Duration getTtl()
public StorageType getStorageType()
public int getReplicas()
public Placement getPlacement()
public boolean isCompressed()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
public java.lang.String getBackingStore()
public java.lang.String toString()
toString
in class java.lang.Object