public final class LeaderElectionManagementRequest extends RaftClientRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
LeaderElectionManagementRequest.Op |
static class |
LeaderElectionManagementRequest.Pause |
static class |
LeaderElectionManagementRequest.Resume |
RaftClientRequest.Builder, RaftClientRequest.Type| Constructor and Description |
|---|
LeaderElectionManagementRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
LeaderElectionManagementRequest.Op op) |
| Modifier and Type | Method and Description |
|---|---|
LeaderElectionManagementRequest.Pause |
getPause() |
LeaderElectionManagementRequest.Resume |
getResume() |
static LeaderElectionManagementRequest |
newPause(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId) |
static LeaderElectionManagementRequest |
newResume(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId) |
String |
toString() |
dataStreamRequestType, forwardRequestType, getMessage, getRoutingTable, getSlidingWindowEntry, getTimeoutMs, getType, is, isRequest, isToLeader, messageStreamRequestType, newBuilder, readRequestType, staleReadRequestType, toWriteRequest, watchRequestType, watchRequestType, writeRequestTypegetCallId, getClientId, getRaftGroupId, getReplierId, getRequestorId, getServerIdpublic LeaderElectionManagementRequest(ClientId clientId, RaftPeerId serverId, RaftGroupId groupId, long callId, LeaderElectionManagementRequest.Op op)
public static LeaderElectionManagementRequest newPause(ClientId clientId, RaftPeerId serverId, RaftGroupId groupId, long callId)
public static LeaderElectionManagementRequest newResume(ClientId clientId, RaftPeerId serverId, RaftGroupId groupId, long callId)
public LeaderElectionManagementRequest.Pause getPause()
public LeaderElectionManagementRequest.Resume getResume()
public String toString()
toString in class RaftClientRequestCopyright © 2017–2022 The Apache Software Foundation. All rights reserved.