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 |
newValue |
protected Data |
oldValue |
dataKey, dataValue, threadId, ttl
createRecordStoreOnDemand, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStore
name
GENERIC_PARTITION_ID
Constructor and Description |
---|
EntryOffloadableSetUnlockOperation() |
EntryOffloadableSetUnlockOperation(String name,
EntryEventType modificationType,
Data key,
Data oldValue,
Data newValue,
String caller,
long threadId,
long begin,
EntryBackupProcessor entryBackupProcessor) |
Modifier and Type | Method and Description |
---|---|
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) |
getKey, getThreadId, getTtl, getValue, setThreadId
beforeRun, evict, getFactoryId, getServiceNamespace, innerBeforeRun, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapService
getName, toString
afterRun, executedLocally, 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, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
readData, writeData
protected Data newValue
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 newValue, String caller, long threadId, long begin, EntryBackupProcessor entryBackupProcessor)
public boolean returnsResponse()
returnsResponse
in class Operation
public Operation getBackupOperation()
BackupAwareOperation
BackupOperation
responsible for making the backup.getBackupOperation
in interface BackupAwareOperation
BackupOperation
responsible for making the backup.public boolean shouldBackup()
BackupAwareOperation
shouldBackup
in interface BackupAwareOperation
public int getAsyncBackupCount()
BackupAwareOperation
getAsyncBackupCount
in interface BackupAwareOperation
public int getSyncBackupCount()
BackupAwareOperation
getSyncBackupCount
in interface BackupAwareOperation
public boolean shouldNotify()
shouldNotify
in interface Notifier
public WaitNotifyKey getNotifiedKey()
getNotifiedKey
in interface Notifier
public String getServiceName()
getServiceName
in class MapOperation
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class MutatingKeyBasedMapOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class MutatingKeyBasedMapOperation
IOException
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.