public class PreVoteResponseOp extends AsyncRaftOp
PreVoteResponse
from a Raft follower to a candidategroupId, target
GENERIC_PARTITION_ID
Constructor and Description |
---|
PreVoteResponseOp() |
PreVoteResponseOp(CPGroupId groupId,
PreVoteResponse voteResponse) |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns type identifier for this class.
|
protected void |
readInternal(ObjectDataInput in) |
void |
run()
Runs the operation.
|
protected void |
writeInternal(ObjectDataOutput out) |
getFactoryId, getResponse, getServiceName, returnsResponse, setTargetMember, validatesTarget
afterRun, beforeRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readData, writeData
public PreVoteResponseOp()
public PreVoteResponseOp(CPGroupId groupId, PreVoteResponse voteResponse)
public void run()
Operation
Operation.run()
or Operation.call()
method should be implemented; not both.
Runs after wait-support, supposed to do actual operationrun
in class Operation
Operation.call()
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AsyncRaftOp
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AsyncRaftOp
IOException
public int getId()
IdentifiedDataSerializable
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.