Interface BucketConfig
- All Known Implementing Classes:
AbstractBucketConfig,CouchbaseBucketConfig,MemcachedBucketConfig
public interface BucketConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanhasCapability(BucketCapability capability) name()Returns the name of the bucket.static BucketConfigparse(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode json, List<NodeInfo> nodes, MemcachedHashingStrategy memcachedHashingStrategy) uuid()Returns the UUID of the bucket.
-
Method Details
-
uuid
String uuid()Returns the UUID of the bucket.The UUID is an opaque value assigned when the bucket is created. If the bucket is deleted and a new bucket is created with the same name, the new bucket will have a different UUID.
-
name
String name()Returns the name of the bucket. -
capabilities
Set<BucketCapability> capabilities() -
hasCapability
-
parse
@Internal @Nullable static BucketConfig parse(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode json, List<NodeInfo> nodes, MemcachedHashingStrategy memcachedHashingStrategy)
-