public class KeyValueConfiguration extends FeatureConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
KeyValueConfiguration.Builder
KeyValueConfiguration is created using a Builder.
|
bucketName, JS_COMPRESSION_NO, JS_COMPRESSION_YES, sc
Modifier and Type | Method and Description |
---|---|
static KeyValueConfiguration.Builder |
builder()
Creates a builder for the Key Value Configuration.
|
static KeyValueConfiguration.Builder |
builder(KeyValueConfiguration kvc)
Creates a builder to copy the key value configuration.
|
static KeyValueConfiguration.Builder |
builder(java.lang.String name)
Creates a builder for the Key Value Configuration.
|
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. |
Mirror |
getMirror()
The mirror definition for this configuration
|
Republish |
getRepublish()
Get the republish configuration.
|
java.util.List<Source> |
getSources()
The sources for this configuration
|
JsonValue |
toJsonValue() |
java.lang.String |
toString() |
getBackingConfig, getBucketName, getDescription, getMaxBucketSize, getMetadata, getPlacement, getReplicas, getStorageType, getTtl, isCompressed, toJson
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
serialize
public long getMaxHistoryPerKey()
@Deprecated public long getMaxValueSize()
getMaximumValueSize()
instead.public int getMaximumValueSize()
public Republish getRepublish()
public Mirror getMirror()
public java.util.List<Source> getSources()
public java.lang.String toString()
toString
in class java.lang.Object
public JsonValue toJsonValue()
toJsonValue
in interface JsonSerializable
toJsonValue
in class FeatureConfiguration
public static KeyValueConfiguration.Builder builder()
public static KeyValueConfiguration.Builder builder(java.lang.String name)
name
- the name of the key value bucketpublic static KeyValueConfiguration.Builder builder(KeyValueConfiguration kvc)
kvc
- an existing KeyValueConfiguration