Search in sources :

Example 1 with LocalLockCleanupOperation

use of com.hazelcast.internal.locksupport.operations.LocalLockCleanupOperation in project hazelcast by hazelcast.

the class LockSupportServiceImpl method createLockCleanupOperation.

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

Aggregations

LocalLockCleanupOperation (com.hazelcast.internal.locksupport.operations.LocalLockCleanupOperation)1 UnlockOperation (com.hazelcast.internal.locksupport.operations.UnlockOperation)1