public class ChangeRaftGroupMembershipOp extends RaftReplicateOp implements IndeterminateOperationStateAware, IdentifiedDataSerializable
GENERIC_PARTITION_ID| Constructor and Description |
|---|
ChangeRaftGroupMembershipOp() |
ChangeRaftGroupMembershipOp(CPGroupId groupId,
long membersCommitIndex,
CPMemberInfo member,
MembershipChangeMode membershipChangeMode) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
boolean |
isRetryableOnIndeterminateOperationState()
Returns true if duplicate commit of the operation is equivalent to
committing it only once.
|
protected void |
readInternal(ObjectDataInput in) |
protected ICompletableFuture |
replicate(RaftNode raftNode) |
protected void |
toString(StringBuilder sb)
A template method allows for additional information to be passed into
the
Operation.toString() method. |
protected void |
writeInternal(ObjectDataOutput out) |
getServiceName, onFailure, onResponse, returnsResponse, run, validatesTargetafterRun, beforeRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadData, writeDatapublic ChangeRaftGroupMembershipOp()
public ChangeRaftGroupMembershipOp(CPGroupId groupId, long membersCommitIndex, CPMemberInfo member, MembershipChangeMode membershipChangeMode)
protected ICompletableFuture replicate(RaftNode raftNode)
replicate in class RaftReplicateOppublic boolean isRetryableOnIndeterminateOperationState()
IndeterminateOperationStateAwareisRetryableOnIndeterminateOperationState in interface IndeterminateOperationStateAwarepublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class RaftReplicateOpIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class RaftReplicateOpIOExceptionprotected void toString(StringBuilder sb)
OperationOperation.toString() method. So an Operation subclass can override
this method and add additional debugging content. The default
implementation does nothing so one is not forced to provide an empty
implementation.
It is a good practice to always call the super.toString(stringBuffer)
when implementing this method to make sure that the super class can
inject content if needed.toString in class RaftReplicateOpsb - the StringBuilder to add the debug info to.Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.