Search in sources :

Example 1 with LocalLockCleanupOperation

use of com.hazelcast.concurrent.lock.operations.LocalLockCleanupOperation in project hazelcast by hazelcast.

the class LockServiceImpl method createLockCleanupOperation.

private UnlockOperation createLockCleanupOperation(int partitionId, ObjectNamespace namespace, Data key, String uuid) {
    UnlockOperation op = new LocalLockCleanupOperation(namespace, key, uuid);
    op.setAsyncBackup(true);
    op.setNodeEngine(nodeEngine);
    op.setServiceName(SERVICE_NAME);
    op.setService(LockServiceImpl.this);
    op.setPartitionId(partitionId);
    op.setValidateTarget(false);
    return op;
}
Also used : LocalLockCleanupOperation(com.hazelcast.concurrent.lock.operations.LocalLockCleanupOperation) UnlockOperation(com.hazelcast.concurrent.lock.operations.UnlockOperation)

Aggregations

LocalLockCleanupOperation (com.hazelcast.concurrent.lock.operations.LocalLockCleanupOperation)1 UnlockOperation (com.hazelcast.concurrent.lock.operations.UnlockOperation)1