public abstract class FeatureConfiguration
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
bucketName |
protected StreamConfiguration |
sc |
| Constructor and Description |
|---|
FeatureConfiguration(StreamConfiguration sc,
java.lang.String bucketName) |
| Modifier and Type | Method and Description |
|---|---|
StreamConfiguration |
getBackingConfig()
Gets the stream configuration for the stream which backs the bucket
|
java.lang.String |
getBucketName()
Gets the name of this bucket.
|
java.lang.String |
getDescription()
Gets the description of this bucket.
|
Placement |
getPlacement()
Placement directives to consider when placing replicas of this stream,
random placement when unset
|
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.
|
protected final StreamConfiguration sc
protected final java.lang.String bucketName
public FeatureConfiguration(StreamConfiguration sc, java.lang.String bucketName)
public StreamConfiguration getBackingConfig()
public java.lang.String getBucketName()
public java.lang.String getDescription()
public java.time.Duration getTtl()
public StorageType getStorageType()
public int getReplicas()
public Placement getPlacement()