public interface ClusterConfig
ClusterConfig
has 0 to N BucketConfig
s associated with it.Modifier and Type | Method and Description |
---|---|
Set<NetworkAddress> |
allNodeAddresses()
Returns the addresses of all nodes in the cluster, accumulated from all
open buckets.
|
BucketConfig |
bucketConfig(String bucketName)
Returns the
BucketConfig for the given bucket name. |
Map<String,BucketConfig> |
bucketConfigs() |
void |
deleteBucketConfig(String bucketName) |
boolean |
hasBucket(String bucketName)
True if there is a bucket config with the given name, false otherwise.
|
void |
setBucketConfig(String bucketName,
BucketConfig config)
Set a bucket config for the given bucket name.
|
BucketConfig bucketConfig(String bucketName)
BucketConfig
for the given bucket name.bucketName
- name of the bucket.void setBucketConfig(String bucketName, BucketConfig config)
bucketName
- the name of the bucket.config
- the configuration associated with the bucket.void deleteBucketConfig(String bucketName)
boolean hasBucket(String bucketName)
bucketName
- name of the bucket.Map<String,BucketConfig> bucketConfigs()
Set<NetworkAddress> allNodeAddresses()
Copyright © 2019 Couchbase, Inc.. All rights reserved.