public class LocalLockCleanupOperation extends UnlockOperation implements Notifier, BackupAwareOperation
ANY_THREAD, key, leaseTime, namespace, response, threadId
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
Constructor and Description |
---|
LocalLockCleanupOperation(ObjectNamespace namespace,
Data key,
String uuid) |
Modifier and Type | Method and Description |
---|---|
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, getId, getNotifiedKey, shouldNotify, unlock
getAsyncBackupCount, getFactoryId, getKey, getLockStore, getReferenceCallId, getResponse, getServiceName, getSyncBackupCount, onSetCallId, setAsyncBackup, setReferenceCallId, toString
beforeRun, returnsResponse
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, onExecutionFailure, onInvocationException, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNotifiedKey, shouldNotify
getAsyncBackupCount, getBackupOperation, getSyncBackupCount
getPartitionId
readData, writeData
public LocalLockCleanupOperation(ObjectNamespace namespace, Data key, String uuid)
public void run() throws Exception
run
in class UnlockOperation
Exception
public boolean shouldBackup()
BackupAwareOperation
shouldBackup
in interface BackupAwareOperation
shouldBackup
in class UnlockOperation
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class UnlockOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class UnlockOperation
IOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.