Package org.jgroups.protocols
Class Locking.ClientLockTable
java.lang.Object
org.jgroups.protocols.Locking.ClientLockTable
- Enclosing class:
Locking
Manages access to client locks
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Set<Locking.ClientLock> protected final ConcurrentMap<String, Map<Owner, Locking.ClientLock>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected Locking.ClientLockReturns locks that have been successfully acquiredprotected List<Locking.Request> getPendingRequests(Address sender) protected intnumLocks()protected booleanremoveClientLock(String lock_name, Owner owner) voidprotected voidtoString()protected voidprotected voidunlockForce(String lock_name) protected Collection<Map<Owner, Locking.ClientLock>> values()
-
Field Details
-
table
-
pending_release_reqs
-
-
Constructor Details
-
ClientLockTable
protected ClientLockTable()
-
-
Method Details
-
numLocks
protected int numLocks() -
getLock
-
removeClientLock
-
unlockAll
protected void unlockAll() -
unlockForce
-
resendPendingLockRequests
protected void resendPendingLockRequests() -
values
-
getLockInfo
Returns locks that have been successfully acquired -
getPendingRequests
-
printLocks
-
toString
-
addToPendingReleaseRequests
-
removeFromPendingReleaseRequests
-