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.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 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 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 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 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 tx) throws org.apache.thrift.TException
invalidateTx
in interface TTransactionServer.Iface
org.apache.thrift.TException
public void send_invalidateTx(long tx) 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
Copyright © 2017 The Apache Software Foundation. All rights reserved.