public class LocalLockCleanupOperation extends UnlockOperation implements Notifier, BackupAwareOperation
ANY_THREAD, key, leaseTime, namespace, response, threadIdGENERIC_PARTITION_ID| Constructor and Description |
|---|
LocalLockCleanupOperation()
This constructor should not be used to obtain an instance of this class; it exists to fulfill IdentifiedDataSerializable
coding conventions.
|
LocalLockCleanupOperation(ObjectNamespace namespace,
Data key,
String uuid) |
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Returns type identifier for this class.
|
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, forceUnlock, getBackupOperation, getNotifiedKey, shouldNotify, unlockgetAsyncBackupCount, getFactoryId, getKey, getLockStore, getName, getReferenceCallId, getResponse, getServiceName, getSyncBackupCount, onSetCallId, setAsyncBackup, setReferenceCallId, toStringbeforeRun, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, readData, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNotifiedKey, shouldNotifygetAsyncBackupCount, getBackupOperation, getSyncBackupCountgetPartitionIdreadData, writeDatapublic LocalLockCleanupOperation()
public LocalLockCleanupOperation(ObjectNamespace namespace, Data key, String uuid)
public void run()
throws Exception
run in class UnlockOperationExceptionpublic boolean shouldBackup()
BackupAwareOperationshouldBackup in interface BackupAwareOperationshouldBackup in class UnlockOperationprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class UnlockOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class UnlockOperationIOExceptionpublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablegetId in class UnlockOperationCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.