Class Partition

java.lang.Object
com.couchbase.client.core.config.Partition

@Deprecated public class Partition extends Object
Deprecated.
In favor of PartitionTopology
  • Constructor Details

    • Partition

      public Partition(short active, short[] replicas)
      Deprecated.
      Creates a new Partition.
      Parameters:
      active - the array index of the active
      replicas - the array indexes of the replicas.
  • Method Details

    • active

      public short active()
      Deprecated.
    • replica

      public short replica(int num)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object