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.Iface
getMaxTransactionId
in interface CoordinatorService.Iface
org.apache.thrift.TException
public void send_getMaxTransactionId() throws org.apache.thrift.TException
org.apache.thrift.TException
public long recv_getMaxTransactionId() throws org.apache.thrift.TException
org.apache.thrift.TException
public long sendNewTransactions(long leftTransactionId, long rightTransactionId, List<ByteBuffer> transactions) throws org.apache.thrift.TException
CoordinatorService.Iface
sendNewTransactions
in interface CoordinatorService.Iface
org.apache.thrift.TException
public void send_sendNewTransactions(long leftTransactionId, long rightTransactionId, List<ByteBuffer> transactions) throws org.apache.thrift.TException
org.apache.thrift.TException
public long recv_sendNewTransactions() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2013. All rights reserved.