public class RaftClientReply extends RaftClientMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
RaftClientReply.Builder
To build
RaftClientReply |
getCallId, getClientId, getRaftGroupId, getReplierId, getRequestorId, getServerIdpublic static RaftClientReply.Builder newBuilder()
public Collection<org.apache.ratis.proto.RaftProtos.CommitInfoProto> getCommitInfos()
public final boolean isRequest()
public long getLogIndex()
public String toString()
toString in class RaftClientMessagepublic boolean isSuccess()
public Message getMessage()
public AlreadyClosedException getAlreadyClosedException()
AlreadyClosedException, return it; otherwise return null.public NotLeaderException getNotLeaderException()
NotLeaderException, return it; otherwise return null.public NotReplicatedException getNotReplicatedException()
NotReplicatedException, return it; otherwise return null.public StateMachineException getStateMachineException()
StateMachineException, return it; otherwise return null.public DataStreamException getDataStreamException()
DataStreamException, return it; otherwise return null.public LeaderNotReadyException getLeaderNotReadyException()
public LeaderSteppingDownException getLeaderSteppingDownException()
public TransferLeadershipException getTransferLeadershipException()
public RaftException getException()
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.