|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sod.exec.Lock
MUTEX.
Object that is used to lock processes.
Created in July 30, 2001.
Constructor Summary | |
Lock()
Constructs a new lock. |
Method Summary | |
void |
lock()
Acquires the lock. |
void |
unlock()
Releases the lock, and notify only one thread. |
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 void lock() throws java.lang.InterruptedException
java.lang.InterruptedException
- Some error occurs while waiting for lock.public void unlock()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |