|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--JHPcte.Mutex
A simple mutex class.
| Constructor Summary | |
Mutex()
|
|
| Method Summary | |
boolean |
isLocked()
Check if mutex is locked. |
void |
lock()
Lock the mutex. |
void |
unlock()
Unlock the mutex. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Mutex()
| Method Detail |
public void lock()
public void unlock()
public boolean isLocked()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||