public static class RaftexService.AsyncClient extends com.facebook.thrift.async.TAsyncClient implements RaftexService.AsyncIface
| Modifier and Type | Class and Description |
|---|---|
static class |
RaftexService.AsyncClient.appendLog_call |
static class |
RaftexService.AsyncClient.askForVote_call |
static class |
RaftexService.AsyncClient.endSendCheckpoint_call |
static class |
RaftexService.AsyncClient.Factory |
static class |
RaftexService.AsyncClient.getState_call |
static class |
RaftexService.AsyncClient.heartbeat_call |
static class |
RaftexService.AsyncClient.sendSnapshot_call |
static class |
RaftexService.AsyncClient.startSendCheckpoint_call |
| Constructor and Description |
|---|
AsyncClient(com.facebook.thrift.protocol.TProtocolFactory protocolFactory,
com.facebook.thrift.async.TAsyncClientManager clientManager,
com.facebook.thrift.transport.TNonblockingTransport transport) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendLog(AppendLogRequest req,
com.facebook.thrift.async.AsyncMethodCallback resultHandler27) |
void |
askForVote(AskForVoteRequest req,
com.facebook.thrift.async.AsyncMethodCallback resultHandler22) |
void |
endSendCheckpoint(SendCheckpointRequest req,
com.facebook.thrift.async.AsyncMethodCallback resultHandler52) |
void |
getState(GetStateRequest req,
com.facebook.thrift.async.AsyncMethodCallback resultHandler42) |
void |
heartbeat(HeartbeatRequest req,
com.facebook.thrift.async.AsyncMethodCallback resultHandler37) |
void |
sendSnapshot(SendSnapshotRequest req,
com.facebook.thrift.async.AsyncMethodCallback resultHandler32) |
void |
startSendCheckpoint(SendCheckpointRequest req,
com.facebook.thrift.async.AsyncMethodCallback resultHandler47) |
public AsyncClient(com.facebook.thrift.protocol.TProtocolFactory protocolFactory,
com.facebook.thrift.async.TAsyncClientManager clientManager,
com.facebook.thrift.transport.TNonblockingTransport transport)
public void askForVote(AskForVoteRequest req, com.facebook.thrift.async.AsyncMethodCallback resultHandler22) throws com.facebook.thrift.TException
askForVote in interface RaftexService.AsyncIfacecom.facebook.thrift.TExceptionpublic void appendLog(AppendLogRequest req, com.facebook.thrift.async.AsyncMethodCallback resultHandler27) throws com.facebook.thrift.TException
appendLog in interface RaftexService.AsyncIfacecom.facebook.thrift.TExceptionpublic void sendSnapshot(SendSnapshotRequest req, com.facebook.thrift.async.AsyncMethodCallback resultHandler32) throws com.facebook.thrift.TException
sendSnapshot in interface RaftexService.AsyncIfacecom.facebook.thrift.TExceptionpublic void heartbeat(HeartbeatRequest req, com.facebook.thrift.async.AsyncMethodCallback resultHandler37) throws com.facebook.thrift.TException
heartbeat in interface RaftexService.AsyncIfacecom.facebook.thrift.TExceptionpublic void getState(GetStateRequest req, com.facebook.thrift.async.AsyncMethodCallback resultHandler42) throws com.facebook.thrift.TException
getState in interface RaftexService.AsyncIfacecom.facebook.thrift.TExceptionpublic void startSendCheckpoint(SendCheckpointRequest req, com.facebook.thrift.async.AsyncMethodCallback resultHandler47) throws com.facebook.thrift.TException
startSendCheckpoint in interface RaftexService.AsyncIfacecom.facebook.thrift.TExceptionpublic void endSendCheckpoint(SendCheckpointRequest req, com.facebook.thrift.async.AsyncMethodCallback resultHandler52) throws com.facebook.thrift.TException
endSendCheckpoint in interface RaftexService.AsyncIfacecom.facebook.thrift.TExceptionCopyright © 2024. All rights reserved.