|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A read/write lock manager
that supports write option
locks.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.concurrent.IRWLockManager |
---|
IRWLockManager.LockType |
Field Summary |
---|
Fields inherited from interface org.eclipse.net4j.util.concurrent.IRWLockManager |
---|
NO_WAIT, WAIT |
Method Summary | |
---|---|
List<RWOLockManager.LockState<OBJECT,CONTEXT>> |
lock2(IRWLockManager.LockType type,
CONTEXT context,
Collection<? extends OBJECT> objectsToLock,
long timeout)
Adds locks of the given type, owned by the given context on the given objects. |
List<RWOLockManager.LockState<OBJECT,CONTEXT>> |
unlock2(CONTEXT context)
Removes all locks owned by the given context on any objects. |
List<RWOLockManager.LockState<OBJECT,CONTEXT>> |
unlock2(CONTEXT context,
Collection<? extends OBJECT> objectsToUnlock)
Removes all locks owned by the given context. |
List<RWOLockManager.LockState<OBJECT,CONTEXT>> |
unlock2(IRWLockManager.LockType type,
CONTEXT context,
Collection<? extends OBJECT> objectsToUnlock)
Removes all locks of the given type, owned by the given context on the given objects. |
Methods inherited from interface org.eclipse.net4j.util.concurrent.IRWLockManager |
---|
hasLock, hasLockByOthers, lock, lock, unlock, unlock |
Method Detail |
---|
List<RWOLockManager.LockState<OBJECT,CONTEXT>> lock2(IRWLockManager.LockType type, CONTEXT context, Collection<? extends OBJECT> objectsToLock, long timeout) throws InterruptedException
InterruptedException
List<RWOLockManager.LockState<OBJECT,CONTEXT>> unlock2(IRWLockManager.LockType type, CONTEXT context, Collection<? extends OBJECT> objectsToUnlock)
List<RWOLockManager.LockState<OBJECT,CONTEXT>> unlock2(CONTEXT context)
List<RWOLockManager.LockState<OBJECT,CONTEXT>> unlock2(CONTEXT context, Collection<? extends OBJECT> objectsToUnlock)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |