public static class CoordinatorService.Client extends org.apache.thrift.TServiceClient implements CoordinatorService.Iface
| Modifier and Type | Class and Description |
|---|---|
static class |
CoordinatorService.Client.Factory |
| Constructor and Description |
|---|
CoordinatorService.Client(org.apache.thrift.protocol.TProtocol prot) |
CoordinatorService.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
| Modifier and Type | Method and Description |
|---|---|
long |
getMaxTransactionId()
Get the max transaction id of one master.
|
long |
recv_getMaxTransactionId() |
long |
recv_sendNewTransactions() |
void |
send_getMaxTransactionId() |
void |
send_sendNewTransactions(long leftTransactionId,
long rightTransactionId,
List<ByteBuffer> transactions) |
long |
sendNewTransactions(long leftTransactionId,
long rightTransactionId,
List<ByteBuffer> transactions)
Send transactions.
|
public CoordinatorService.Client(org.apache.thrift.protocol.TProtocol prot)
public CoordinatorService.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
public long getMaxTransactionId()
throws org.apache.thrift.TException
CoordinatorService.IfacegetMaxTransactionId in interface CoordinatorService.Ifaceorg.apache.thrift.TExceptionpublic void send_getMaxTransactionId()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long recv_getMaxTransactionId()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long sendNewTransactions(long leftTransactionId,
long rightTransactionId,
List<ByteBuffer> transactions)
throws org.apache.thrift.TException
CoordinatorService.IfacesendNewTransactions in interface CoordinatorService.Ifaceorg.apache.thrift.TExceptionpublic void send_sendNewTransactions(long leftTransactionId,
long rightTransactionId,
List<ByteBuffer> transactions)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long recv_sendNewTransactions()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2013. All rights reserved.