Class ActiveTransactionRecordIds
java.lang.Object
com.couchbase.client.core.transaction.atr.ActiveTransactionRecordIds
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionallAtrs
(int numAtrs) atrIdsForVbucket
(int vbucketId, int numAtrs) static String
randomAtrIdForVbucket
(int vbucketId, int numAtrs) static int
vbucketForKey
(String id, int numPartitions)
-
Field Details
-
NUM_VBUCKETS
public static final int NUM_VBUCKETS- See Also:
-
NUM_ATRS_DEFAULT
public static final int NUM_ATRS_DEFAULT- See Also:
-
MAX_ATR_BLOCKS
public static final int MAX_ATR_BLOCKS- See Also:
-
MAX_ATRS
public static final int MAX_ATRS- See Also:
-
-
Method Details
-
allAtrs
-
atrIdsForVbucket
-
randomAtrIdForVbucket
-
vbucketForKey
-