All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
protected KVTransaction |
createKVTransaction(KVDatabase kvdb) |
protected KVTransaction |
doCreateTransaction(KVDatabase kvdb) |
protected int |
getNumTries() |
protected static KVPair |
kv(String... key) |
protected String |
mapRetryExceptionMessage(String message) |
protected String |
s(KVPair pair) |
void |
setupTransactionAttemptCounters() |
protected RuntimeException |
showKV(KVStore kv,
String label)
Dump KV contents to the log.
|
protected RuntimeException |
showKV(KVStore kv,
String label,
byte[] minKey,
byte[] maxKey)
Dump KV portion to the log.
|
static NavigableMap<String,String> |
stringView(NavigableMap<byte[],byte[]> byteMap) |
static NavigableSet<String> |
stringView(NavigableSet<byte[]> byteSet) |
void |
teardownTransactionAttemptCounters() |
protected String |
toXmlString(KVStore kv) |
protected String |
toXmlString(KVStore kv,
byte[] minKey,
byte[] maxKey) |
protected void |
tryNtimes(KVDatabase kvdb,
Consumer<KVTransaction> consumer) |
protected <R> R |
tryNtimesWithResult(KVDatabase kvdb,
Function<KVTransaction,R> function) |
protected void |
updateRetryStats(RetryTransactionException e) |