|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jgroups.protocols.Locking.ClientLock org.jgroups.protocols.PEER_LOCK.PeerLock
protected class PEER_LOCK.PeerLock
Lock implementation which grants a lock when all non faulty cluster members OK it.
Field Summary | |
---|---|
protected java.util.List<Address> |
grants
|
Fields inherited from class org.jgroups.protocols.Locking.ClientLock |
---|
acquired, condition, denied, is_trylock, name, owner, timeout |
Constructor Summary | |
---|---|
PEER_LOCK.PeerLock(java.lang.String name)
|
Method Summary | |
---|---|
protected void |
handleLockGrantedResponse(Owner owner,
Address sender)
|
protected void |
retainAll(java.util.List<Address> members)
|
Methods inherited from class org.jgroups.protocols.Locking.ClientLock |
---|
_unlock, acquire, acquireTryLock, lock, lockDenied, lockGranted, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final java.util.List<Address> grants
Constructor Detail |
---|
public PEER_LOCK.PeerLock(java.lang.String name)
Method Detail |
---|
protected void retainAll(java.util.List<Address> members)
protected void handleLockGrantedResponse(Owner owner, Address sender)
handleLockGrantedResponse
in class Locking.ClientLock
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |