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.
|
int |
getMaximumValueSize()
Gets the maximum size for an individual value in the bucket.
|
long |
getMaxValueSize()
Deprecated.
the server value is a 32-bit signed value. Use
getMaximumValueSize() instead. |
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 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.
|
boolean |
isCompressed()
Gets the state of compression
|
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()
@Deprecated public long getMaxValueSize()
getMaximumValueSize()
instead.public int getMaximumValueSize()
public java.time.Duration getTtl()
public StorageType getStorageType()
public int getReplicas()
public Placement getPlacement()
public Republish getRepublish()
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