public class AppendRequestOp extends AsyncRaftOp
AppendRequest
RPC from a Raft group leader to a followergroupId, target
GENERIC_PARTITION_ID
Constructor and Description |
---|
AppendRequestOp() |
AppendRequestOp(CPGroupId groupId,
AppendRequest appendRequest) |
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 AppendRequestOp()
public AppendRequestOp(CPGroupId groupId, AppendRequest appendRequest)
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 © 2022 Hazelcast, Inc.. All Rights Reserved.