Package org.jgroups.protocols
Class PEER_LOCK.PeerLock
java.lang.Object
org.jgroups.protocols.Locking.ClientLock
org.jgroups.protocols.PEER_LOCK.PeerLock
- All Implemented Interfaces:
Lock
- Enclosing class:
PEER_LOCK
Lock implementation which grants a lock when all non faulty cluster members OK it.
-
Field Summary
FieldsFields inherited from class org.jgroups.protocols.Locking.ClientLock
acquired, condition, denied, is_trylock, name, owner, timeout -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jgroups.protocols.Locking.ClientLock
_unlock, acquire, acquireTryLock, lock, lockDenied, lockGranted, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock
-
Field Details
-
grants
-
-
Constructor Details
-
PeerLock
-
-
Method Details
-
retainAll
-
handleLockGrantedResponse
- Overrides:
handleLockGrantedResponsein classLocking.ClientLock
-