public class HDEntryOffloadableSetUnlockOperation extends HDKeyBasedMapOperation implements com.hazelcast.spi.BackupAwareOperation, com.hazelcast.spi.Notifier
See the javadoc on EntryOperation for full documentation.
GOTCHA : This operation LOADS missing keys from map-store, in contrast with PartitionWideEntryOperation.
| Modifier and Type | Field and Description |
|---|---|
protected long |
begin |
protected String |
caller |
protected com.hazelcast.map.EntryBackupProcessor |
entryBackupProcessor |
protected com.hazelcast.core.EntryEventType |
modificationType |
protected com.hazelcast.nio.serialization.Data |
newValue |
protected com.hazelcast.nio.serialization.Data |
oldValue |
dataKey, dataValue, maxIdle, threadId, ttlDEFAULT_FORCED_EVICTION_RETRY_COUNT, FORCED_EVICTION_RETRY_COUNT, PROP_FORCED_EVICTION_RETRY_COUNT| Constructor and Description |
|---|
HDEntryOffloadableSetUnlockOperation() |
HDEntryOffloadableSetUnlockOperation(String name,
com.hazelcast.core.EntryEventType modificationType,
com.hazelcast.nio.serialization.Data key,
com.hazelcast.nio.serialization.Data oldValue,
com.hazelcast.nio.serialization.Data newValue,
String caller,
long threadId,
long begin,
com.hazelcast.map.EntryBackupProcessor entryBackupProcessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
int |
getAsyncBackupCount() |
com.hazelcast.spi.Operation |
getBackupOperation() |
int |
getId() |
com.hazelcast.spi.WaitNotifyKey |
getNotifiedKey() |
String |
getServiceName() |
int |
getSyncBackupCount() |
protected void |
readInternal(com.hazelcast.nio.ObjectDataInput in) |
boolean |
returnsResponse() |
void |
runInternal() |
boolean |
shouldBackup() |
boolean |
shouldNotify() |
protected void |
writeInternal(com.hazelcast.nio.ObjectDataOutput out) |
getKey, getNow, getThreadId, getTtl, getValue, setThreadIddisposeDeferredBlocks, evict, getFactoryId, getRetryCount, innerBeforeRun, logError, onExecutionFailure, 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, getResponse, getService, getWaitTimeout, isUrgent, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataprotected com.hazelcast.nio.serialization.Data newValue
protected com.hazelcast.nio.serialization.Data oldValue
protected String caller
protected long begin
protected com.hazelcast.core.EntryEventType modificationType
protected com.hazelcast.map.EntryBackupProcessor entryBackupProcessor
public HDEntryOffloadableSetUnlockOperation()
public HDEntryOffloadableSetUnlockOperation(String name, com.hazelcast.core.EntryEventType modificationType, com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data newValue, String caller, long threadId, long begin, com.hazelcast.map.EntryBackupProcessor entryBackupProcessor)
public void runInternal()
runInternal in class HDMapOperationpublic void afterRun()
throws Exception
afterRun in class HDKeyBasedMapOperationExceptionpublic boolean returnsResponse()
returnsResponse in class HDKeyBasedMapOperationpublic 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.BackupAwareOperationpublic boolean shouldNotify()
shouldNotify in interface com.hazelcast.spi.Notifierpublic com.hazelcast.spi.WaitNotifyKey getNotifiedKey()
getNotifiedKey in interface com.hazelcast.spi.Notifierpublic String getServiceName()
getServiceName in class HDKeyBasedMapOperationpublic int getId()
getId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializableprotected void writeInternal(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeInternal in class HDKeyBasedMapOperationIOExceptionprotected void readInternal(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readInternal in class HDKeyBasedMapOperationIOExceptionCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.