public class DefaultBucketSettings extends Object implements BucketSettings
Modifier and Type | Class and Description |
---|---|
static class |
DefaultBucketSettings.Builder |
Modifier and Type | Method and Description |
---|---|
static DefaultBucketSettings.Builder |
builder() |
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.
|
int |
replicas()
Number of replicas.
|
String |
toString() |
BucketType |
type()
The type of the bucket.
|
public static DefaultBucketSettings.Builder builder()
public String name()
BucketSettings
The name of the bucket.
name
in interface BucketSettings
public BucketType type()
BucketSettings
The type of the bucket.
type
in interface BucketSettings
public int quota()
BucketSettings
The bucket quota.
quota
in interface BucketSettings
public int port()
BucketSettings
The optional proxy port.
port
in interface BucketSettings
public String password()
BucketSettings
The password of the bucket.
password
in interface BucketSettings
public int replicas()
BucketSettings
Number of replicas.
replicas
in interface BucketSettings
public boolean indexReplicas()
BucketSettings
If replicas are indexed.
indexReplicas
in interface BucketSettings
public boolean enableFlush()
BucketSettings
If flush is enabled.
enableFlush
in interface BucketSettings
Copyright © 2014 Couchbase, Inc.