public class CompareAndSetOperation extends AtomicLongBackupAwareOperation
shouldBackupname| Constructor and Description |
|---|
CompareAndSetOperation() |
CompareAndSetOperation(String name,
long expect,
long update) |
| Modifier and Type | Method and Description |
|---|---|
Operation |
getBackupOperation()
Creates the
BackupOperation responsible for making the backup. |
Object |
getResponse() |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
getAsyncBackupCount, getSyncBackupCount, shouldBackupafterRun, beforeRun, getNumber, returnsResponsegetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getStartTime, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPartitionIdpublic CompareAndSetOperation()
public CompareAndSetOperation(String name, long expect, long update)
public Object getResponse()
getResponse in class AtomicLongBaseOperationprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class AtomicLongBaseOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class AtomicLongBaseOperationIOExceptionpublic Operation getBackupOperation()
BackupAwareOperationBackupOperation responsible for making the backup.Copyright © 2021 Hazelcast, Inc.. All rights reserved.