public static interface TTransactionServer.Iface
| Modifier and Type | Method and Description |
|---|---|
void |
abortTx(TTransaction tx) |
TBoolean |
canCommitTx(TTransaction tx,
Set<ByteBuffer> changes) |
TTransaction |
checkpoint(TTransaction tx) |
TBoolean |
commitTx(TTransaction tx) |
ByteBuffer |
getSnapshot() |
boolean |
invalidateTx(long tx) |
int |
invalidTxSize() |
void |
resetState() |
TTransaction |
startLong() |
TTransaction |
startShort() |
TTransaction |
startShortTimeout(int timeout) |
String |
status() |
TBoolean |
truncateInvalidTx(Set<Long> txns) |
TBoolean |
truncateInvalidTxBefore(long time) |
TTransaction startLong() throws org.apache.thrift.TException
org.apache.thrift.TExceptionTTransaction startShort() throws org.apache.thrift.TException
org.apache.thrift.TExceptionTTransaction startShortTimeout(int timeout) throws org.apache.thrift.TException
org.apache.thrift.TExceptionTBoolean canCommitTx(TTransaction tx, Set<ByteBuffer> changes) throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressExceptionorg.apache.thrift.TExceptionTBoolean commitTx(TTransaction tx) throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressExceptionorg.apache.thrift.TExceptionvoid abortTx(TTransaction tx) throws org.apache.thrift.TException
org.apache.thrift.TExceptionboolean invalidateTx(long tx)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionByteBuffer getSnapshot() throws TTransactionCouldNotTakeSnapshotException, org.apache.thrift.TException
TTransactionCouldNotTakeSnapshotExceptionorg.apache.thrift.TExceptionvoid resetState()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionString status() throws org.apache.thrift.TException
org.apache.thrift.TExceptionTBoolean truncateInvalidTx(Set<Long> txns) throws org.apache.thrift.TException
org.apache.thrift.TExceptionTBoolean truncateInvalidTxBefore(long time) throws TInvalidTruncateTimeException, org.apache.thrift.TException
TInvalidTruncateTimeExceptionorg.apache.thrift.TExceptionint invalidTxSize()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionTTransaction checkpoint(TTransaction tx) throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressExceptionorg.apache.thrift.TExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.