public class RequestVoteRequestProcessor extends NodeRequestProcessor<RpcRequests.RequestVoteRequest>
RpcProcessor.ExecutorSelectorLOG| Constructor and Description |
|---|
RequestVoteRequestProcessor(Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getGroupId(RpcRequests.RequestVoteRequest request) |
protected String |
getPeerId(RpcRequests.RequestVoteRequest request) |
String |
interest()
The class name of user request.
|
com.google.protobuf.Message |
processRequest0(RaftServerService service,
RpcRequests.RequestVoteRequest request,
RpcRequestClosure done) |
processRequestdefaultResp, executor, handleRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutorSelectorpublic RequestVoteRequestProcessor(Executor executor)
protected String getPeerId(RpcRequests.RequestVoteRequest request)
getPeerId in class NodeRequestProcessor<RpcRequests.RequestVoteRequest>protected String getGroupId(RpcRequests.RequestVoteRequest request)
getGroupId in class NodeRequestProcessor<RpcRequests.RequestVoteRequest>public com.google.protobuf.Message processRequest0(RaftServerService service, RpcRequests.RequestVoteRequest request, RpcRequestClosure done)
processRequest0 in class NodeRequestProcessor<RpcRequests.RequestVoteRequest>public String interest()
RpcProcessorCopyright © 2024. All rights reserved.