Class MemcachedBucketConfig

java.lang.Object
com.couchbase.client.core.config.AbstractBucketConfig
com.couchbase.client.core.config.MemcachedBucketConfig
All Implemented Interfaces:
BucketConfig

@Deprecated public class MemcachedBucketConfig extends AbstractBucketConfig
Deprecated.
  • Constructor Details

  • Method Details

    • tainted

      public boolean tainted()
      Deprecated.
      Description copied from interface: BucketConfig
      Returns true if the config indicates the cluster is undergoing a transition (such as a rebalance operation).
      Returns:
      true if a transition is in progress.
    • type

      public BucketType type()
      Deprecated.
      Description copied from interface: BucketConfig
      The bucket type.
      Returns:
      the bucket type.
    • ketamaNodes

      @Deprecated public SortedMap<Long,NodeInfo> ketamaNodes()
      Deprecated.
      Please use nodeForKey(byte[]) for Ketama lookups instead.
    • nodeForId

      @Deprecated public NodeIdentifier nodeForId(byte[] id)
      Deprecated.
      Please use nodeForKey(byte[]).identifier() instead.
    • nodeForKey

      public NodeInfo nodeForKey(byte[] id)
      Deprecated.
    • hasFastForwardMap

      public boolean hasFastForwardMap()
      Deprecated.
      Description copied from interface: BucketConfig
      Returns true if the config has a fast forward map that describes what the topology of the cluster will be after the current rebalance operation completes.
      Returns:
      true if it does, false otherwise.
    • toString

      public String toString()
      Deprecated.
      Note that dumping the whole Ketama ring is pretty much useless, so here we focus on just dumping all the nodes that participate in the cluster instead.
      Overrides:
      toString in class Object