public class ReplaceIfSameOperation extends BasePutOperation
dataOldValue, eventTypedataKey, dataValue, mapContainer, mapService, name, partitionContainer, recordStore, threadId, ttl| Constructor and Description |
|---|
ReplaceIfSameOperation() |
ReplaceIfSameOperation(String name,
Data dataKey,
Data expect,
Data update) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
Object |
getResponse() |
void |
onWaitExpire() |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
String |
toString() |
protected void |
writeInternal(ObjectDataOutput out) |
getAsyncBackupCount, getBackupOperation, getSyncBackupCountgetWaitKey, shouldWaitbeforeRun, evict, getKey, getName, getThreadId, getTtl, getValue, innerBeforeRun, invalidateNearCaches, returnsResponse, setThreadIdgetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdgetWaitTimeoutpublic ReplaceIfSameOperation(String name, Data dataKey, Data expect, Data update)
public ReplaceIfSameOperation()
public void afterRun()
afterRun in class BasePutOperationpublic Object getResponse()
getResponse in class Operationpublic boolean shouldBackup()
BackupAwareOperationshouldBackup in interface BackupAwareOperationshouldBackup in class BasePutOperationpublic void onWaitExpire()
onWaitExpire in interface WaitSupportonWaitExpire in class BasePutOperationprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class KeyBasedMapOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class KeyBasedMapOperationIOExceptionpublic String toString()
toString in class BasePutOperationCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.