public class CmsWaitHandle extends java.lang.Object
This is really a thin wrapper around the wait() and notifyAll() methods.
Constructor and Description |
---|
CmsWaitHandle() |
Modifier and Type | Method and Description |
---|---|
void |
enter(long waitTime)
Waits for a maximum of waitTime, but returns if another thread calls release().
|
void |
release()
Releases all currently waiting threads.
|
public CmsWaitHandle()