com.couchbase.client.vbucket.config
Class VBucket

java.lang.Object
  extended by com.couchbase.client.vbucket.config.VBucket

public class VBucket
extends java.lang.Object

A VBucket.


Field Summary
static int MAX_BUCKETS
           
static int MAX_REPLICAS
           
 
Constructor Summary
VBucket(int m, int[] r)
           
 
Method Summary
 int getMaster()
           
 int getReplica(int n)
           
 void setMaster(int rv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

VBucket

public VBucket(int m,
               int[] r)
Method Detail

getMaster

public int getMaster()

getReplica

public int getReplica(int n)

setMaster

public void setMaster(int rv)


Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.