public class FencedLockProxy extends AbstractFencedLockProxy
FencedLock APIobjectName, proxyNamegroupIdINVALID_FENCE| Constructor and Description |
|---|
FencedLockProxy(NodeEngine nodeEngine,
RaftGroupId groupId,
String proxyName,
String objectName) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys this object cluster-wide.
|
protected InternalCompletableFuture<LockOwnershipState> |
doGetLockOwnershipState() |
protected InternalCompletableFuture<Long> |
doLock(long sessionId,
long threadId,
UUID invocationUid) |
protected InternalCompletableFuture<Long> |
doTryLock(long sessionId,
long threadId,
UUID invocationUid,
long timeoutMillis) |
protected InternalCompletableFuture<Boolean> |
doUnlock(long sessionId,
long threadId,
UUID invocationUid) |
getFence, getLockCount, getLockedSessionId, getName, getObjectName, getPartitionKey, getServiceName, isLocked, isLockedByCurrentThread, lock, lockAndGetFence, lockInterruptibly, newCondition, tryLock, tryLock, tryLockAndGetFence, tryLockAndGetFence, unlockacquireSession, acquireSession, getGroupId, getOrCreateUniqueThreadId, getSession, invalidateSession, releaseSession, releaseSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGroupIdpublic FencedLockProxy(NodeEngine nodeEngine, RaftGroupId groupId, String proxyName, String objectName)
protected final InternalCompletableFuture<Long> doLock(long sessionId, long threadId, UUID invocationUid)
doLock in class AbstractFencedLockProxyprotected final InternalCompletableFuture<Long> doTryLock(long sessionId, long threadId, UUID invocationUid, long timeoutMillis)
doTryLock in class AbstractFencedLockProxyprotected final InternalCompletableFuture<Boolean> doUnlock(long sessionId, long threadId, UUID invocationUid)
doUnlock in class AbstractFencedLockProxyprotected final InternalCompletableFuture<LockOwnershipState> doGetLockOwnershipState()
doGetLockOwnershipState in class AbstractFencedLockProxypublic void destroy()
DistributedObjectdestroy in interface DistributedObjectdestroy in class AbstractFencedLockProxyCopyright © 2019 Hazelcast, Inc.. All rights reserved.