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.Factory |
static class |
RaftexService.AsyncClient.getState_call |
static class |
RaftexService.AsyncClient.heartbeat_call |
static class |
RaftexService.AsyncClient.sendSnapshot_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 resultHandler21) |
void |
askForVote(AskForVoteRequest req,
com.facebook.thrift.async.AsyncMethodCallback resultHandler16) |
void |
getState(GetStateRequest req,
com.facebook.thrift.async.AsyncMethodCallback resultHandler36) |
void |
heartbeat(HeartbeatRequest req,
com.facebook.thrift.async.AsyncMethodCallback resultHandler31) |
void |
sendSnapshot(SendSnapshotRequest req,
com.facebook.thrift.async.AsyncMethodCallback resultHandler26) |
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 resultHandler16) throws com.facebook.thrift.TException
askForVote in interface RaftexService.AsyncIfacecom.facebook.thrift.TExceptionpublic void appendLog(AppendLogRequest req, com.facebook.thrift.async.AsyncMethodCallback resultHandler21) throws com.facebook.thrift.TException
appendLog in interface RaftexService.AsyncIfacecom.facebook.thrift.TExceptionpublic void sendSnapshot(SendSnapshotRequest req, com.facebook.thrift.async.AsyncMethodCallback resultHandler26) throws com.facebook.thrift.TException
sendSnapshot in interface RaftexService.AsyncIfacecom.facebook.thrift.TExceptionpublic void heartbeat(HeartbeatRequest req, com.facebook.thrift.async.AsyncMethodCallback resultHandler31) throws com.facebook.thrift.TException
heartbeat in interface RaftexService.AsyncIfacecom.facebook.thrift.TExceptionpublic void getState(GetStateRequest req, com.facebook.thrift.async.AsyncMethodCallback resultHandler36) throws com.facebook.thrift.TException
getState in interface RaftexService.AsyncIfacecom.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.