public class RaftFencedLockProxy extends AbstractRaftFencedLockProxy
FencedLock APIobjectName, proxyNamegroupIdINVALID_FENCE| Constructor and Description |
|---|
RaftFencedLockProxy(NodeEngine nodeEngine,
RaftGroupId groupId,
String proxyName,
String objectName) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys this object cluster-wide.
|
protected InternalCompletableFuture<RaftLockOwnershipState> |
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 RaftFencedLockProxy(NodeEngine nodeEngine, RaftGroupId groupId, String proxyName, String objectName)
protected final InternalCompletableFuture<Long> doLock(long sessionId, long threadId, UUID invocationUid)
doLock in class AbstractRaftFencedLockProxyprotected final InternalCompletableFuture<Long> doTryLock(long sessionId, long threadId, UUID invocationUid, long timeoutMillis)
doTryLock in class AbstractRaftFencedLockProxyprotected final InternalCompletableFuture<Boolean> doUnlock(long sessionId, long threadId, UUID invocationUid)
doUnlock in class AbstractRaftFencedLockProxyprotected final InternalCompletableFuture<RaftLockOwnershipState> doGetLockOwnershipState()
doGetLockOwnershipState in class AbstractRaftFencedLockProxypublic void destroy()
DistributedObjectdestroy in interface DistributedObjectdestroy in class AbstractRaftFencedLockProxyCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.