public class EntryOffloadableSetUnlockOperation extends MutatingKeyBasedMapOperation implements BackupAwareOperation, Notifier
EntryOperation| Modifier and Type | Field and Description |
|---|---|
protected long |
begin |
protected String |
caller |
protected EntryBackupProcessor |
entryBackupProcessor |
protected EntryEventType |
modificationType |
protected Data |
oldValue |
protected Data |
value |
dataKey, dataValue, threadId, ttlcreateRecordStoreOnDemand, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStorenameGENERIC_PARTITION_ID| Constructor and Description |
|---|
EntryOffloadableSetUnlockOperation() |
EntryOffloadableSetUnlockOperation(String name,
EntryEventType modificationType,
Data key,
Data oldValue,
Data value,
String caller,
long threadId,
long begin,
EntryBackupProcessor entryBackupProcessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
int |
getAsyncBackupCount()
The asynchronous backup count.
|
Operation |
getBackupOperation()
Creates the
BackupOperation responsible for making the backup. |
int |
getId()
Returns type identifier for this class.
|
WaitNotifyKey |
getNotifiedKey() |
String |
getServiceName() |
int |
getSyncBackupCount()
The synchronous backup count.
|
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
boolean |
shouldNotify() |
protected void |
writeInternal(ObjectDataOutput out) |
createMapEntry, getKey, getLocalMapStats, getNow, getThreadId, getTtl, getValue, noOp, setThreadIdbeforeRun, evict, getFactoryId, innerBeforeRun, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapServicegetName, toStringexecutedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdreadData, writeDataprotected Data value
protected Data oldValue
protected String caller
protected long begin
protected EntryEventType modificationType
protected EntryBackupProcessor entryBackupProcessor
public EntryOffloadableSetUnlockOperation()
public EntryOffloadableSetUnlockOperation(String name, EntryEventType modificationType, Data key, Data oldValue, Data value, String caller, long threadId, long begin, EntryBackupProcessor entryBackupProcessor)
public void afterRun()
throws Exception
public boolean returnsResponse()
returnsResponse in class Operationpublic Operation getBackupOperation()
BackupAwareOperationBackupOperation responsible for making the backup.getBackupOperation in interface BackupAwareOperationBackupOperation responsible for making the backup.public boolean shouldBackup()
BackupAwareOperationshouldBackup in interface BackupAwareOperationpublic int getAsyncBackupCount()
BackupAwareOperationgetAsyncBackupCount in interface BackupAwareOperationpublic int getSyncBackupCount()
BackupAwareOperationgetSyncBackupCount in interface BackupAwareOperationpublic boolean shouldNotify()
shouldNotify in interface Notifierpublic WaitNotifyKey getNotifiedKey()
getNotifiedKey in interface Notifierpublic String getServiceName()
getServiceName in class MapOperationpublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class MutatingKeyBasedMapOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class MutatingKeyBasedMapOperationIOExceptionCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.