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.TException
TTransaction startShort() throws org.apache.thrift.TException
org.apache.thrift.TException
TTransaction startLongClientId(String clientId) throws TGenericException, org.apache.thrift.TException
TGenericException
org.apache.thrift.TException
TTransaction startShortTimeout(int timeout) throws org.apache.thrift.TException
org.apache.thrift.TException
TTransaction startShortClientId(String clientId) throws TGenericException, org.apache.thrift.TException
TGenericException
org.apache.thrift.TException
TTransaction startShortWithClientIdAndTimeOut(String clientId, int timeout) throws TGenericException, org.apache.thrift.TException
TGenericException
org.apache.thrift.TException
TTransaction startShortWithTimeout(int timeout) throws TGenericException, org.apache.thrift.TException
TGenericException
org.apache.thrift.TException
TBoolean canCommitTx(TTransaction tx, Set<ByteBuffer> changes) throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressException
org.apache.thrift.TException
void canCommitOrThrow(long tx, Set<ByteBuffer> changes) throws TTransactionNotInProgressException, TTransactionConflictException, TGenericException, org.apache.thrift.TException
TTransactionNotInProgressException
TTransactionConflictException
TGenericException
org.apache.thrift.TException
TBoolean commitTx(TTransaction tx) throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressException
org.apache.thrift.TException
void commitOrThrow(long txId, long wp) throws TTransactionNotInProgressException, TTransactionConflictException, TGenericException, org.apache.thrift.TException
TTransactionNotInProgressException
TTransactionConflictException
TGenericException
org.apache.thrift.TException
void abortTx(TTransaction tx) throws org.apache.thrift.TException
org.apache.thrift.TException
boolean invalidateTx(long txid) throws org.apache.thrift.TException
org.apache.thrift.TException
ByteBuffer getSnapshot() throws TTransactionCouldNotTakeSnapshotException, org.apache.thrift.TException
TTransactionCouldNotTakeSnapshotException
org.apache.thrift.TException
void resetState() throws org.apache.thrift.TException
org.apache.thrift.TException
String status() throws org.apache.thrift.TException
org.apache.thrift.TException
TBoolean truncateInvalidTx(Set<Long> txns) throws org.apache.thrift.TException
org.apache.thrift.TException
TBoolean truncateInvalidTxBefore(long time) throws TInvalidTruncateTimeException, org.apache.thrift.TException
TInvalidTruncateTimeException
org.apache.thrift.TException
int invalidTxSize() throws org.apache.thrift.TException
org.apache.thrift.TException
TTransaction checkpoint(TTransaction tx) throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressException
org.apache.thrift.TException
void pruneNow() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2018 The Apache Software Foundation. All rights reserved.