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.TException
TTransaction startShort() throws org.apache.thrift.TException
org.apache.thrift.TException
TTransaction startShortTimeout(int timeout) throws org.apache.thrift.TException
org.apache.thrift.TException
TBoolean canCommitTx(TTransaction tx, Set<ByteBuffer> changes) throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressException
org.apache.thrift.TException
TBoolean commitTx(TTransaction tx) throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressException
org.apache.thrift.TException
void abortTx(TTransaction tx) throws org.apache.thrift.TException
org.apache.thrift.TException
boolean invalidateTx(long tx) 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
Copyright © 2016 The Apache Software Foundation. All rights reserved.