|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface to synchronization objects.
Method Summary | |
void |
acquire()
Deprecated. Aquire access to resource. |
boolean |
attempt(long msec)
Deprecated. Aquire access to resource. |
void |
release()
Deprecated. Release lock. |
Method Detail |
public void acquire() throws InterruptedException
InterruptedException
- if an error occurspublic boolean attempt(long msec) throws InterruptedException
msec
- the duration to wait for lock to be released
InterruptedException
- if an error occurspublic void release()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |