public static interface TTransactionServer.Iface
| Modifier and Type | Method and Description |
|---|---|
void |
abortTx(TTransaction tx) |
void |
canCommitOrThrow(long tx,
Set<ByteBuffer> changes) |
TBoolean |
canCommitTx(TTransaction tx,
Set<ByteBuffer> changes) |
TTransaction |
checkpoint(TTransaction tx) |
void |
commitOrThrow(long txId,
long wp) |
TBoolean |
commitTx(TTransaction tx) |
ByteBuffer |
getSnapshot() |
boolean |
invalidateTx(long txid) |
int |
invalidTxSize() |
void |
pruneNow() |
void |
resetState() |
TTransaction |
startLong() |
TTransaction |
startLongClientId(String clientId) |
TTransaction |
startShort() |
TTransaction |
startShortClientId(String clientId) |
TTransaction |
startShortTimeout(int timeout) |
TTransaction |
startShortWithClientIdAndTimeOut(String clientId,
int timeout) |
TTransaction |
startShortWithTimeout(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 startLongClientId(String clientId) throws TGenericException, org.apache.thrift.TException
TGenericExceptionorg.apache.thrift.TExceptionTTransaction startShortTimeout(int timeout) throws org.apache.thrift.TException
org.apache.thrift.TExceptionTTransaction startShortClientId(String clientId) throws TGenericException, org.apache.thrift.TException
TGenericExceptionorg.apache.thrift.TExceptionTTransaction startShortWithClientIdAndTimeOut(String clientId, int timeout) throws TGenericException, org.apache.thrift.TException
TGenericExceptionorg.apache.thrift.TExceptionTTransaction startShortWithTimeout(int timeout) throws TGenericException, org.apache.thrift.TException
TGenericExceptionorg.apache.thrift.TExceptionTBoolean canCommitTx(TTransaction tx, Set<ByteBuffer> changes) throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressExceptionorg.apache.thrift.TExceptionvoid canCommitOrThrow(long tx,
Set<ByteBuffer> changes)
throws TTransactionNotInProgressException,
TTransactionConflictException,
TGenericException,
org.apache.thrift.TException
TTransactionNotInProgressExceptionTTransactionConflictExceptionTGenericExceptionorg.apache.thrift.TExceptionTBoolean commitTx(TTransaction tx) throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressExceptionorg.apache.thrift.TExceptionvoid commitOrThrow(long txId,
long wp)
throws TTransactionNotInProgressException,
TTransactionConflictException,
TGenericException,
org.apache.thrift.TException
TTransactionNotInProgressExceptionTTransactionConflictExceptionTGenericExceptionorg.apache.thrift.TExceptionvoid abortTx(TTransaction tx) throws org.apache.thrift.TException
org.apache.thrift.TExceptionboolean invalidateTx(long txid)
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.TExceptionvoid pruneNow()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.