public class HDEntryOperation extends HDKeyBasedMapOperation implements com.hazelcast.spi.BackupAwareOperation, com.hazelcast.spi.impl.MutatingOperation, com.hazelcast.spi.BlockingOperation
EntryOperation for full documentation.
GOTCHA : This operation LOADS missing keys from map-store, in contrast with PartitionWideEntryOperation.
dataKey, dataValue, maxIdle, threadId, ttlDEFAULT_FORCED_EVICTION_RETRY_COUNT, FORCED_EVICTION_RETRY_COUNT, PROP_FORCED_EVICTION_RETRY_COUNT| Constructor and Description |
|---|
HDEntryOperation() |
HDEntryOperation(String name,
com.hazelcast.nio.serialization.Data dataKey,
com.hazelcast.map.EntryProcessor entryProcessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
int |
getAsyncBackupCount() |
com.hazelcast.spi.Operation |
getBackupOperation() |
int |
getId() |
Object |
getResponse() |
int |
getSyncBackupCount() |
com.hazelcast.spi.WaitNotifyKey |
getWaitKey() |
void |
innerBeforeRun() |
void |
onExecutionFailure(Throwable e) |
void |
onWaitExpire() |
protected void |
readInternal(com.hazelcast.nio.ObjectDataInput in) |
boolean |
returnsResponse() |
protected void |
runInternal() |
boolean |
shouldBackup() |
boolean |
shouldWait() |
protected void |
writeInternal(com.hazelcast.nio.ObjectDataOutput out) |
getKey, getNow, getServiceName, getThreadId, getTtl, getValue, setThreadIddisposeDeferredBlocks, evict, getFactoryId, getRetryCount, logError, runbeforeRun, canThisOpGenerateWANEvent, getCallerProvenance, getServiceNamespace, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, publishLoadAsWanUpdate, publishWanRemove, publishWanUpdate, setMapContainer, setMapServicecall, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDatapublic HDEntryOperation()
public HDEntryOperation(String name, com.hazelcast.nio.serialization.Data dataKey, com.hazelcast.map.EntryProcessor entryProcessor)
public void innerBeforeRun()
throws Exception
innerBeforeRun in class HDMapOperationExceptionprotected void runInternal()
runInternal in class HDMapOperationpublic void onExecutionFailure(Throwable e)
onExecutionFailure in class HDMapOperationpublic boolean returnsResponse()
returnsResponse in class HDKeyBasedMapOperationpublic void afterRun()
throws Exception
afterRun in class HDKeyBasedMapOperationExceptionpublic final com.hazelcast.spi.WaitNotifyKey getWaitKey()
getWaitKey in interface com.hazelcast.spi.BlockingOperationpublic boolean shouldWait()
shouldWait in interface com.hazelcast.spi.BlockingOperationpublic void onWaitExpire()
onWaitExpire in interface com.hazelcast.spi.BlockingOperationpublic Object getResponse()
getResponse in class com.hazelcast.spi.Operationpublic com.hazelcast.spi.Operation getBackupOperation()
getBackupOperation in interface com.hazelcast.spi.BackupAwareOperationpublic boolean shouldBackup()
shouldBackup in interface com.hazelcast.spi.BackupAwareOperationpublic int getAsyncBackupCount()
getAsyncBackupCount in interface com.hazelcast.spi.BackupAwareOperationpublic int getSyncBackupCount()
getSyncBackupCount in interface com.hazelcast.spi.BackupAwareOperationprotected void readInternal(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readInternal in class HDKeyBasedMapOperationIOExceptionprotected void writeInternal(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeInternal in class HDKeyBasedMapOperationIOExceptionpublic int getId()
getId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializableCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.