Interface BucketConfig

All Known Implementing Classes:
AbstractBucketConfig, CouchbaseBucketConfig, MemcachedBucketConfig

public interface BucketConfig
  • 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

      default boolean hasCapability(BucketCapability capability)
    • parse

      @Internal @Nullable static BucketConfig parse(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode json, List<NodeInfo> nodes, MemcachedHashingStrategy memcachedHashingStrategy)