public class KeyValueStatus
extends java.lang.Object
Constructor and Description |
---|
KeyValueStatus(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 bucket
|
KeyValueConfiguration |
getConfiguration()
Gets the configuration object directly
|
java.lang.String |
getDescription()
Gets the description of this bucket.
|
long |
getEntryCount()
Get the number of total entries in the bucket, including historical entries
|
long |
getMaxBucketSize()
Gets the maximum number of bytes for this bucket.
|
long |
getMaxHistoryPerKey()
Gets the maximum number of history for any one key.
|
long |
getMaxValueSize()
Gets the maximum size for an individual value in the bucket.
|
int |
getReplicas()
Gets the number of replicas for this bucket.
|
StorageType |
getStorageType()
Gets the storage type for this bucket.
|
java.time.Duration |
getTtl()
Gets the maximum age for a value in this bucket.
|
java.lang.String |
toString() |
public KeyValueStatus(StreamInfo si)
public java.lang.String getBucketName()
public java.lang.String getDescription()
public StreamInfo getBackingStreamInfo()
public KeyValueConfiguration getConfiguration()
public long getEntryCount()
public long getMaxHistoryPerKey()
public long getMaxBucketSize()
public long getMaxValueSize()
public java.time.Duration getTtl()
public StorageType getStorageType()
public int getReplicas()
public java.lang.String getBackingStore()
public java.lang.String toString()
toString
in class java.lang.Object