Package com.couchbase.client.core.config
Class DefaultPartition
java.lang.Object
com.couchbase.client.core.config.DefaultPartition
- All Implemented Interfaces:
Partition
public class DefaultPartition extends Object implements Partition
-
Constructor Summary
Constructors Constructor Description DefaultPartition(short master, short[] replicas)
Creates a newDefaultPartition
. -
Method Summary
-
Constructor Details
-
DefaultPartition
public DefaultPartition(short master, short[] replicas)Creates a newDefaultPartition
.- Parameters:
master
- the array index of the masterreplicas
- the array indexes of the replicas.
-
-
Method Details