public static class TTransactionServer.Client extends org.apache.thrift.TServiceClient implements TTransactionServer.Iface
| Modifier and Type | Class and Description |
|---|---|
static class |
TTransactionServer.Client.Factory |
| Constructor and Description |
|---|
TTransactionServer.Client(org.apache.thrift.protocol.TProtocol prot) |
TTransactionServer.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
public TTransactionServer.Client(org.apache.thrift.protocol.TProtocol prot)
public TTransactionServer.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
public TTransaction startLong() throws org.apache.thrift.TException
startLong in interface TTransactionServer.Ifaceorg.apache.thrift.TExceptionpublic void send_startLong()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTransaction recv_startLong() throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTransaction startShort() throws org.apache.thrift.TException
startShort in interface TTransactionServer.Ifaceorg.apache.thrift.TExceptionpublic void send_startShort()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTransaction recv_startShort() throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTransaction startLongClientId(String clientId) throws TGenericException, org.apache.thrift.TException
startLongClientId in interface TTransactionServer.IfaceTGenericExceptionorg.apache.thrift.TExceptionpublic void send_startLongClientId(String clientId) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTransaction recv_startLongClientId() throws TGenericException, org.apache.thrift.TException
TGenericExceptionorg.apache.thrift.TExceptionpublic TTransaction startShortTimeout(int timeout) throws org.apache.thrift.TException
startShortTimeout in interface TTransactionServer.Ifaceorg.apache.thrift.TExceptionpublic void send_startShortTimeout(int timeout)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTransaction recv_startShortTimeout() throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTransaction startShortClientId(String clientId) throws TGenericException, org.apache.thrift.TException
startShortClientId in interface TTransactionServer.IfaceTGenericExceptionorg.apache.thrift.TExceptionpublic void send_startShortClientId(String clientId) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTransaction recv_startShortClientId() throws TGenericException, org.apache.thrift.TException
TGenericExceptionorg.apache.thrift.TExceptionpublic TTransaction startShortWithClientIdAndTimeOut(String clientId, int timeout) throws TGenericException, org.apache.thrift.TException
startShortWithClientIdAndTimeOut in interface TTransactionServer.IfaceTGenericExceptionorg.apache.thrift.TExceptionpublic void send_startShortWithClientIdAndTimeOut(String clientId, int timeout) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTransaction recv_startShortWithClientIdAndTimeOut() throws TGenericException, org.apache.thrift.TException
TGenericExceptionorg.apache.thrift.TExceptionpublic TTransaction startShortWithTimeout(int timeout) throws TGenericException, org.apache.thrift.TException
startShortWithTimeout in interface TTransactionServer.IfaceTGenericExceptionorg.apache.thrift.TExceptionpublic void send_startShortWithTimeout(int timeout)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTransaction recv_startShortWithTimeout() throws TGenericException, org.apache.thrift.TException
TGenericExceptionorg.apache.thrift.TExceptionpublic TBoolean canCommitTx(TTransaction tx, Set<ByteBuffer> changes) throws TTransactionNotInProgressException, org.apache.thrift.TException
canCommitTx in interface TTransactionServer.IfaceTTransactionNotInProgressExceptionorg.apache.thrift.TExceptionpublic void send_canCommitTx(TTransaction tx, Set<ByteBuffer> changes) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TBoolean recv_canCommitTx() throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressExceptionorg.apache.thrift.TExceptionpublic TBoolean commitTx(TTransaction tx) throws TTransactionNotInProgressException, org.apache.thrift.TException
commitTx in interface TTransactionServer.IfaceTTransactionNotInProgressExceptionorg.apache.thrift.TExceptionpublic void send_commitTx(TTransaction tx) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TBoolean recv_commitTx() throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressExceptionorg.apache.thrift.TExceptionpublic void abortTx(TTransaction tx) throws org.apache.thrift.TException
abortTx in interface TTransactionServer.Ifaceorg.apache.thrift.TExceptionpublic void send_abortTx(TTransaction tx) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_abortTx()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean invalidateTx(long tx)
throws org.apache.thrift.TException
invalidateTx in interface TTransactionServer.Ifaceorg.apache.thrift.TExceptionpublic void send_invalidateTx(long tx)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_invalidateTx()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic ByteBuffer getSnapshot() throws TTransactionCouldNotTakeSnapshotException, org.apache.thrift.TException
getSnapshot in interface TTransactionServer.IfaceTTransactionCouldNotTakeSnapshotExceptionorg.apache.thrift.TExceptionpublic void send_getSnapshot()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic ByteBuffer recv_getSnapshot() throws TTransactionCouldNotTakeSnapshotException, org.apache.thrift.TException
TTransactionCouldNotTakeSnapshotExceptionorg.apache.thrift.TExceptionpublic void resetState()
throws org.apache.thrift.TException
resetState in interface TTransactionServer.Ifaceorg.apache.thrift.TExceptionpublic void send_resetState()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_resetState()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic String status() throws org.apache.thrift.TException
status in interface TTransactionServer.Ifaceorg.apache.thrift.TExceptionpublic void send_status()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic String recv_status() throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TBoolean truncateInvalidTx(Set<Long> txns) throws org.apache.thrift.TException
truncateInvalidTx in interface TTransactionServer.Ifaceorg.apache.thrift.TExceptionpublic void send_truncateInvalidTx(Set<Long> txns) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TBoolean recv_truncateInvalidTx() throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TBoolean truncateInvalidTxBefore(long time) throws TInvalidTruncateTimeException, org.apache.thrift.TException
truncateInvalidTxBefore in interface TTransactionServer.IfaceTInvalidTruncateTimeExceptionorg.apache.thrift.TExceptionpublic void send_truncateInvalidTxBefore(long time)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TBoolean recv_truncateInvalidTxBefore() throws TInvalidTruncateTimeException, org.apache.thrift.TException
TInvalidTruncateTimeExceptionorg.apache.thrift.TExceptionpublic int invalidTxSize()
throws org.apache.thrift.TException
invalidTxSize in interface TTransactionServer.Ifaceorg.apache.thrift.TExceptionpublic void send_invalidTxSize()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic int recv_invalidTxSize()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTransaction checkpoint(TTransaction tx) throws TTransactionNotInProgressException, org.apache.thrift.TException
checkpoint in interface TTransactionServer.IfaceTTransactionNotInProgressExceptionorg.apache.thrift.TExceptionpublic void send_checkpoint(TTransaction tx) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTransaction recv_checkpoint() throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressExceptionorg.apache.thrift.TExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.