public interface BucketConfig
Represents a Couchbase Bucket Configuration.
Modifier and Type | Method and Description |
---|---|
BucketNodeLocator |
locator()
The type of node locator in use for this bucket.
|
String |
name()
The name of the bucket.
|
List<NodeInfo> |
nodes()
The list of nodes associated with this bucket.
|
String |
password()
The password of the bucket.
|
BucketConfig |
password(String password)
Setter to inject the password manually into the config.
|
long |
rev()
Revision number (optional) for that configuration.
|
boolean |
serviceEnabled(ServiceType type)
Check if the service is enabled on the bucket.
|
String |
streamingUri()
The HTTP Streaming URI for this bucket.
|
boolean |
tainted()
If a config is marked as tainted.
|
BucketType |
type()
The bucket type.
|
String |
uri()
The HTTP Uri for this bucket configuration.
|
String name()
The name of the bucket.
String password()
The password of the bucket.
BucketConfig password(String password)
Setter to inject the password manually into the config.
password
- the password of the bucket to inject.BucketNodeLocator locator()
The type of node locator in use for this bucket.
String uri()
The HTTP Uri for this bucket configuration.
String streamingUri()
The HTTP Streaming URI for this bucket.
List<NodeInfo> nodes()
The list of nodes associated with this bucket.
boolean tainted()
If a config is marked as tainted.
long rev()
Revision number (optional) for that configuration.
BucketType type()
The bucket type.
boolean serviceEnabled(ServiceType type)
Check if the service is enabled on the bucket.
type
- the type to check.Copyright © 2015 Couchbase, Inc.. All rights reserved.