@InterfaceStability.Committed @InterfaceAudience.Public public interface BucketSettings
BucketSettings
represent changeable properties for a Bucket
.Modifier and Type | Method and Description |
---|---|
CompressionMode |
compressionMode()
The different compression modes for the bucket.
|
Map<String,Object> |
customSettings()
A map of map of advanced settings that are not covered by the native methods of the object
but still need to be set when configuring a bucket.
|
EjectionMethod |
ejectionMethod()
The ejection method available for the bucket.
|
boolean |
enableFlush()
If flush is enabled.
|
boolean |
indexReplicas()
If replicas are indexed.
|
String |
name()
The name of the bucket.
|
String |
password()
The password of the bucket.
|
int |
port()
The optional proxy port.
|
int |
quota()
The bucket quota.
|
JsonObject |
raw()
A raw representation of the bucket settings when acquired from the server.
|
int |
replicas()
Number of replicas.
|
BucketType |
type()
The type of the bucket.
|
String name()
BucketType type()
int quota()
int port()
String password()
int replicas()
boolean indexReplicas()
boolean enableFlush()
CompressionMode compressionMode()
EjectionMethod ejectionMethod()
Map<String,Object> customSettings()
raw()
instead.JsonObject raw()
customSettings()
.JsonObject
if not applicable.Copyright © 2015 Couchbase, Inc.