|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.aduna.concurrent.locks.ExclusiveLockManager
public class ExclusiveLockManager
A lock manager for exclusive locks.
Nested Class Summary | |
---|---|
protected class |
ExclusiveLockManager.ExclusiveDebugLock
|
protected class |
ExclusiveLockManager.ExclusiveLock
|
Constructor Summary | |
---|---|
ExclusiveLockManager()
Creates an ExclusiveLockManager. |
|
ExclusiveLockManager(boolean trackLocks)
|
Method Summary | |
---|---|
Lock |
getExclusiveLock()
Gets the exclusive lock. |
Lock |
tryExclusiveLock()
Gets the exclusive lock, if available. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExclusiveLockManager()
public ExclusiveLockManager(boolean trackLocks)
Method Detail |
---|
public Lock tryExclusiveLock()
public Lock getExclusiveLock() throws java.lang.InterruptedException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |