public class FallbackKVTransaction extends ForwardingKVStore implements KVTransaction
KVTransaction associated with a FallbackKVDatabase.FallbackKVDatabase| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
protected KVStore |
delegate() |
KVDatabase |
getKVDatabase() |
KVTransaction |
getKVTransaction()
Get the underlying transaction, which will be associated with either one of the fallback
databases, or the standalone mode database.
|
CloseableKVStore |
mutableSnapshot() |
void |
rollback() |
void |
setTimeout(long timeout) |
ListenableFuture<Void> |
watchKey(byte[] key) |
adjustCounter, decodeCounter, encodeCounter, get, getAtLeast, getAtMost, getRange, put, remove, removeRangeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadjustCounter, decodeCounter, encodeCounter, get, getAtLeast, getAtMost, getRange, put, remove, removeRangepublic KVTransaction getKVTransaction()
protected KVStore delegate()
delegate in class ForwardingKVStorepublic KVDatabase getKVDatabase()
getKVDatabase in interface KVTransactionpublic void setTimeout(long timeout)
setTimeout in interface KVTransactionpublic ListenableFuture<Void> watchKey(byte[] key)
watchKey in interface KVTransactionpublic CloseableKVStore mutableSnapshot()
mutableSnapshot in interface KVTransactionpublic void commit()
commit in interface KVTransactionpublic void rollback()
rollback in interface KVTransactionCopyright © 2016. All rights reserved.