net.spy.memcached.vbucket.config
Class VBucket
java.lang.Object
net.spy.memcached.vbucket.config.VBucket
public class VBucket
- extends Object
|
Constructor Summary |
VBucket(int m,
int[] r)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_REPLICAS
public static final int MAX_REPLICAS
- See Also:
- Constant Field Values
MAX_BUCKETS
public static final int MAX_BUCKETS
- See Also:
- Constant Field Values
VBucket
public VBucket(int m,
int[] r)
getMaster
public int getMaster()
getReplica
public int getReplica(int n)
setMaster
public void setMaster(int rv)