public final class UnlockIfLeaseExpiredOperation extends UnlockOperation
ANY_THREAD, key, leaseTime, namespace, response, threadId
GENERIC_PARTITION_ID
Constructor and Description |
---|
UnlockIfLeaseExpiredOperation() |
UnlockIfLeaseExpiredOperation(ObjectNamespace namespace,
Data key,
int version) |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns type identifier for this class.
|
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, getNotifiedKey, shouldNotify, unlock
getAsyncBackupCount, getFactoryId, getKey, getLockStore, getName, getReferenceCallId, getResponse, getServiceName, getServiceNamespace, getSyncBackupCount, onSetCallId, setAsyncBackup, setReferenceCallId, toString
beforeRun, call, 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, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAsyncBackupCount, getSyncBackupCount
getPartitionId
readData, writeData
public UnlockIfLeaseExpiredOperation()
public UnlockIfLeaseExpiredOperation(ObjectNamespace namespace, Data key, int version)
public void run() throws Exception
run
in class UnlockOperation
Exception
public boolean shouldBackup()
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
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
getId
in class UnlockOperation
Copyright © 2018 Hazelcast, Inc.. All rights reserved.