public final class UnlockIfLeaseExpiredOperation extends UnlockOperation
ANY_THREAD, key, leaseTime, namespace, response, threadIdCALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID| Constructor and Description |
|---|
UnlockIfLeaseExpiredOperation(ObjectNamespace namespace,
Data key,
int version) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
boolean |
shouldBackup()
This operation runs on both primary and backup
If it is running on backup we should not send a backup operation
|
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, forceUnlock, getBackupOperation, getId, getNotifiedKey, shouldNotify, unlockgetAsyncBackupCount, getFactoryId, getKey, getLockStore, getReferenceCallId, getResponse, getServiceName, getSyncBackupCount, onSetCallId, setAsyncBackup, setReferenceCallId, toStringbeforeRun, returnsResponsegetCallerAddress, 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, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAsyncBackupCount, getSyncBackupCountgetPartitionIdreadData, writeDatapublic UnlockIfLeaseExpiredOperation(ObjectNamespace namespace, Data key, int version)
public void run()
throws Exception
run in class UnlockOperationExceptionpublic boolean shouldBackup()
shouldBackup 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 UnlockOperationIOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.