public class InstallSnapshotOp extends AsyncRaftOp
InstallSnapshot
RPC from a Raft group leader to a followergroupId, target
GENERIC_PARTITION_ID
Constructor and Description |
---|
InstallSnapshotOp() |
InstallSnapshotOp(CPGroupId groupId,
InstallSnapshot installSnapshot) |
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 InstallSnapshotOp()
public InstallSnapshotOp(CPGroupId groupId, InstallSnapshot installSnapshot)
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()
public int getId()
IdentifiedDataSerializable
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AsyncRaftOp
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AsyncRaftOp
IOException
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.