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 |
---|
Client(org.apache.thrift.protocol.TProtocol prot) |
Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
public Client(org.apache.thrift.protocol.TProtocol prot)
public 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.Iface
org.apache.thrift.TException
public void send_startLong() throws org.apache.thrift.TException
org.apache.thrift.TException
public TTransaction recv_startLong() throws org.apache.thrift.TException
org.apache.thrift.TException
public TTransaction startShort() throws org.apache.thrift.TException
startShort
in interface TTransactionServer.Iface
org.apache.thrift.TException
public void send_startShort() throws org.apache.thrift.TException
org.apache.thrift.TException
public TTransaction recv_startShort() throws org.apache.thrift.TException
org.apache.thrift.TException
public TTransaction startLongClientId(String clientId) throws TGenericException, org.apache.thrift.TException
startLongClientId
in interface TTransactionServer.Iface
TGenericException
org.apache.thrift.TException
public void send_startLongClientId(String clientId) throws org.apache.thrift.TException
org.apache.thrift.TException
public TTransaction recv_startLongClientId() throws TGenericException, org.apache.thrift.TException
TGenericException
org.apache.thrift.TException
public TTransaction startShortTimeout(int timeout) throws org.apache.thrift.TException
startShortTimeout
in interface TTransactionServer.Iface
org.apache.thrift.TException
public void send_startShortTimeout(int timeout) throws org.apache.thrift.TException
org.apache.thrift.TException
public TTransaction recv_startShortTimeout() throws org.apache.thrift.TException
org.apache.thrift.TException
public TTransaction startShortClientId(String clientId) throws TGenericException, org.apache.thrift.TException
startShortClientId
in interface TTransactionServer.Iface
TGenericException
org.apache.thrift.TException
public void send_startShortClientId(String clientId) throws org.apache.thrift.TException
org.apache.thrift.TException
public TTransaction recv_startShortClientId() throws TGenericException, org.apache.thrift.TException
TGenericException
org.apache.thrift.TException
public TTransaction startShortWithClientIdAndTimeOut(String clientId, int timeout) throws TGenericException, org.apache.thrift.TException
startShortWithClientIdAndTimeOut
in interface TTransactionServer.Iface
TGenericException
org.apache.thrift.TException
public void send_startShortWithClientIdAndTimeOut(String clientId, int timeout) throws org.apache.thrift.TException
org.apache.thrift.TException
public TTransaction recv_startShortWithClientIdAndTimeOut() throws TGenericException, org.apache.thrift.TException
TGenericException
org.apache.thrift.TException
public TTransaction startShortWithTimeout(int timeout) throws TGenericException, org.apache.thrift.TException
startShortWithTimeout
in interface TTransactionServer.Iface
TGenericException
org.apache.thrift.TException
public void send_startShortWithTimeout(int timeout) throws org.apache.thrift.TException
org.apache.thrift.TException
public TTransaction recv_startShortWithTimeout() throws TGenericException, org.apache.thrift.TException
TGenericException
org.apache.thrift.TException
public TBoolean canCommitTx(TTransaction tx, Set<ByteBuffer> changes) throws TTransactionNotInProgressException, org.apache.thrift.TException
canCommitTx
in interface TTransactionServer.Iface
TTransactionNotInProgressException
org.apache.thrift.TException
public void send_canCommitTx(TTransaction tx, Set<ByteBuffer> changes) throws org.apache.thrift.TException
org.apache.thrift.TException
public TBoolean recv_canCommitTx() throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressException
org.apache.thrift.TException
public void canCommitOrThrow(long tx, Set<ByteBuffer> changes) throws TTransactionNotInProgressException, TTransactionConflictException, TGenericException, org.apache.thrift.TException
canCommitOrThrow
in interface TTransactionServer.Iface
TTransactionNotInProgressException
TTransactionConflictException
TGenericException
org.apache.thrift.TException
public void send_canCommitOrThrow(long tx, Set<ByteBuffer> changes) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_canCommitOrThrow() throws TTransactionNotInProgressException, TTransactionConflictException, TGenericException, org.apache.thrift.TException
TTransactionNotInProgressException
TTransactionConflictException
TGenericException
org.apache.thrift.TException
public TBoolean commitTx(TTransaction tx) throws TTransactionNotInProgressException, org.apache.thrift.TException
commitTx
in interface TTransactionServer.Iface
TTransactionNotInProgressException
org.apache.thrift.TException
public void send_commitTx(TTransaction tx) throws org.apache.thrift.TException
org.apache.thrift.TException
public TBoolean recv_commitTx() throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressException
org.apache.thrift.TException
public void commitOrThrow(long txId, long wp) throws TTransactionNotInProgressException, TTransactionConflictException, TGenericException, org.apache.thrift.TException
commitOrThrow
in interface TTransactionServer.Iface
TTransactionNotInProgressException
TTransactionConflictException
TGenericException
org.apache.thrift.TException
public void send_commitOrThrow(long txId, long wp) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_commitOrThrow() throws TTransactionNotInProgressException, TTransactionConflictException, TGenericException, org.apache.thrift.TException
TTransactionNotInProgressException
TTransactionConflictException
TGenericException
org.apache.thrift.TException
public void abortTx(TTransaction tx) throws org.apache.thrift.TException
abortTx
in interface TTransactionServer.Iface
org.apache.thrift.TException
public void send_abortTx(TTransaction tx) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_abortTx() throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean invalidateTx(long txid) throws org.apache.thrift.TException
invalidateTx
in interface TTransactionServer.Iface
org.apache.thrift.TException
public void send_invalidateTx(long txid) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_invalidateTx() throws org.apache.thrift.TException
org.apache.thrift.TException
public ByteBuffer getSnapshot() throws TTransactionCouldNotTakeSnapshotException, org.apache.thrift.TException
getSnapshot
in interface TTransactionServer.Iface
TTransactionCouldNotTakeSnapshotException
org.apache.thrift.TException
public void send_getSnapshot() throws org.apache.thrift.TException
org.apache.thrift.TException
public ByteBuffer recv_getSnapshot() throws TTransactionCouldNotTakeSnapshotException, org.apache.thrift.TException
TTransactionCouldNotTakeSnapshotException
org.apache.thrift.TException
public void resetState() throws org.apache.thrift.TException
resetState
in interface TTransactionServer.Iface
org.apache.thrift.TException
public void send_resetState() throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_resetState() throws org.apache.thrift.TException
org.apache.thrift.TException
public String status() throws org.apache.thrift.TException
status
in interface TTransactionServer.Iface
org.apache.thrift.TException
public void send_status() throws org.apache.thrift.TException
org.apache.thrift.TException
public String recv_status() throws org.apache.thrift.TException
org.apache.thrift.TException
public TBoolean truncateInvalidTx(Set<Long> txns) throws org.apache.thrift.TException
truncateInvalidTx
in interface TTransactionServer.Iface
org.apache.thrift.TException
public void send_truncateInvalidTx(Set<Long> txns) throws org.apache.thrift.TException
org.apache.thrift.TException
public TBoolean recv_truncateInvalidTx() throws org.apache.thrift.TException
org.apache.thrift.TException
public TBoolean truncateInvalidTxBefore(long time) throws TInvalidTruncateTimeException, org.apache.thrift.TException
truncateInvalidTxBefore
in interface TTransactionServer.Iface
TInvalidTruncateTimeException
org.apache.thrift.TException
public void send_truncateInvalidTxBefore(long time) throws org.apache.thrift.TException
org.apache.thrift.TException
public TBoolean recv_truncateInvalidTxBefore() throws TInvalidTruncateTimeException, org.apache.thrift.TException
TInvalidTruncateTimeException
org.apache.thrift.TException
public int invalidTxSize() throws org.apache.thrift.TException
invalidTxSize
in interface TTransactionServer.Iface
org.apache.thrift.TException
public void send_invalidTxSize() throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_invalidTxSize() throws org.apache.thrift.TException
org.apache.thrift.TException
public TTransaction checkpoint(TTransaction tx) throws TTransactionNotInProgressException, org.apache.thrift.TException
checkpoint
in interface TTransactionServer.Iface
TTransactionNotInProgressException
org.apache.thrift.TException
public void send_checkpoint(TTransaction tx) throws org.apache.thrift.TException
org.apache.thrift.TException
public TTransaction recv_checkpoint() throws TTransactionNotInProgressException, org.apache.thrift.TException
TTransactionNotInProgressException
org.apache.thrift.TException
public void pruneNow() throws org.apache.thrift.TException
pruneNow
in interface TTransactionServer.Iface
org.apache.thrift.TException
public void send_pruneNow() throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_pruneNow() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2018 The Apache Software Foundation. All rights reserved.