Class ActiveTransactionRecordIds
- java.lang.Object
-
- com.couchbase.client.core.transaction.atr.ActiveTransactionRecordIds
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_ATR_BLOCKS
static int
MAX_ATRS
static int
NUM_ATRS_DEFAULT
static int
NUM_VBUCKETS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>
allAtrs(int numAtrs)
static List<String>
atrIdsForVbucket(int vbucketId, int numAtrs)
static String
randomAtrIdForVbucket(int vbucketId, int numAtrs)
static int
vbucketForKey(String id, int numPartitions)
-
-
-
Field Detail
-
NUM_VBUCKETS
public static final int NUM_VBUCKETS
- See Also:
- Constant Field Values
-
NUM_ATRS_DEFAULT
public static final int NUM_ATRS_DEFAULT
- See Also:
- Constant Field Values
-
MAX_ATR_BLOCKS
public static final int MAX_ATR_BLOCKS
- See Also:
- Constant Field Values
-
MAX_ATRS
public static final int MAX_ATRS
- See Also:
- Constant Field Values
-
-