|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.util.Mutex
public class Mutex
Utility class: mutex
| Constructor Summary | |
|---|---|
Mutex()
Constructs a new Mutex object. |
|
| Method Summary | |
|---|---|
void |
acquire()
Acquire the lock. |
boolean |
locked()
Returns true if this mutex has been been locked. |
void |
release()
Release the lock. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mutex()
Mutex object.
| Method Detail |
|---|
public void acquire()
throws java.lang.InterruptedException
java.lang.InterruptedException - The lock has not been acquired.public void release()
public boolean locked()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||