|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.util.CmsWaitHandle
public class CmsWaitHandle
Low-level utility class used for waiting for an action performed by another thread.
This is really a thin wrapper around the wait() and notifyAll() methods.
| Constructor Summary | |
|---|---|
CmsWaitHandle()
|
|
| Method Summary | |
|---|---|
void |
enter(long waitTime)
Waits for a maximum of waitTime, but returns if another thread calls release(). |
void |
release()
Releases all currently waiting threads. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsWaitHandle()
| Method Detail |
|---|
public void enter(long waitTime)
waitTime - the maximum wait timepublic void release()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||