|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.excalibur.concurrent.Lock
A class to perform a blocking lock.
Constructor Summary | |
Lock()
Deprecated. |
Method Summary | |
void |
lock()
Deprecated. Locks. |
void |
unlock()
Deprecated. Unlocks. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Lock()
Method Detail |
public final void lock() throws InterruptedException
InterruptedException
- if the thread is interrupted while waiting on a lockpublic final void unlock()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |