Class Partition

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

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

    • Partition Link icon

      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 Link icon

    • active Link icon

      public short active()
      Deprecated.
    • replica Link icon

      public short replica(int num)
      Deprecated.
    • toString Link icon

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