public class InstallSnapshotOp extends AsyncRaftOp
InstallSnapshot RPC from a Raft group leader to a followergroupId, targetGENERIC_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, validatesTargetafterRun, 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, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadData, writeDatapublic InstallSnapshotOp()
public InstallSnapshotOp(CPGroupId groupId, InstallSnapshot installSnapshot)
public void run()
OperationOperation.run() or Operation.call() method should be implemented; not both.
Runs after wait-support, supposed to do actual operationrun in class OperationOperation.call()public int getId()
IdentifiedDataSerializableprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class AsyncRaftOpIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class AsyncRaftOpIOExceptionCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.