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
|
long |
getByteCount()
Get the size of the bucket in bytes
|
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.
|
Placement |
getPlacement()
Gets the placement directive for the store.
|
int |
getReplicas()
Gets the number of replicas for this bucket.
|
Republish |
getRepublish()
Gets the republish configuration
|
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 getByteCount()
public long getMaxHistoryPerKey()
public long getMaxBucketSize()
public long getMaxValueSize()
public java.time.Duration getTtl()
public StorageType getStorageType()
public int getReplicas()
public Placement getPlacement()
public Republish getRepublish()
public java.lang.String getBackingStore()
public java.lang.String toString()
toString in class java.lang.Object