public abstract class AbstractAlterOperation extends AtomicReferenceBackupAwareOperation implements MutatingOperation
Modifier and Type | Field and Description |
---|---|
protected Data |
backup |
protected Data |
function |
protected Object |
response |
shouldBackup
name
GENERIC_PARTITION_ID
Constructor and Description |
---|
AbstractAlterOperation() |
AbstractAlterOperation(String name,
Data function) |
Modifier and Type | Method and Description |
---|---|
Operation |
getBackupOperation()
Creates the
BackupOperation responsible for making the backup. |
Object |
getResponse()
Called if and only if
Operation.returnsResponse() returned true ,
shortly after Operation.run() returns. |
protected boolean |
isEquals(Object o1,
Object o2) |
protected void |
readInternal(ObjectDataInput in) |
protected void |
writeInternal(ObjectDataOutput out) |
getAsyncBackupCount, getSyncBackupCount, shouldBackup
getFactoryId, getName, getReferenceContainer, getServiceName, toString
afterRun, beforeRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, returnsResponse, run, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
getId
readData, writeData
protected Data function
protected Object response
protected Data backup
public Object getResponse()
Operation
Operation.returnsResponse()
returned true
,
shortly after Operation.run()
returns.getResponse
in class Operation
public Operation getBackupOperation()
BackupAwareOperation
BackupOperation
responsible for making the backup.getBackupOperation
in interface BackupAwareOperation
BackupOperation
responsible for making the backup.protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractAtomicReferenceOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractAtomicReferenceOperation
IOException
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.