public class BucketConfiguration
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BucketConfiguration.Builder
BucketConfiguration is created using a Builder.
|
| Modifier and Type | Method and Description |
|---|---|
static BucketConfiguration.Builder |
builder()
Creates a builder for the stream configuration.
|
static BucketConfiguration.Builder |
builder(BucketConfiguration bc)
Creates a builder to copy the stream configuration.
|
StreamConfiguration |
getBackingConfig() |
java.time.Duration |
getDuplicateWindow()
Gets the duplicate checking window bucket.
|
long |
getMaxBucketSize()
Gets the maximum number of bytes for this bucket.
|
long |
getMaxHistory()
Gets the maximum number of history for any one key.
|
long |
getMaxValues()
Gets the maximum number of values across all keys, including history values
|
long |
getMaxValueSize()
Gets the maximum number of bytes for an individual value in the bucket.
|
java.lang.String |
getName()
Gets the name of this 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 StreamConfiguration getBackingConfig()
public java.lang.String getName()
public long getMaxValues()
public long getMaxHistory()
public long getMaxBucketSize()
public long getMaxValueSize()
public java.time.Duration getTtl()
public StorageType getStorageType()
public int getReplicas()
public java.time.Duration getDuplicateWindow()
public java.lang.String toString()
toString in class java.lang.Objectpublic static BucketConfiguration.Builder builder()
public static BucketConfiguration.Builder builder(BucketConfiguration bc)
bc - an existing StreamConfiguration