public class WaitQueue
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
WaitQueue.Item |
Constructor and Description |
---|
WaitQueue() |
Modifier and Type | Method and Description |
---|---|
WaitQueue.Item |
create() |
void |
park(WaitQueue.Item item,
long timeout) |
void |
parkUntil(WaitQueue.Item item,
long expires) |
java.lang.String |
toString() |
boolean |
wake() |
void |
wakeAll() |
public boolean wake()
public void wakeAll()
public void park(WaitQueue.Item item, long timeout)
public void parkUntil(WaitQueue.Item item, long expires)
public WaitQueue.Item create()
public java.lang.String toString()
toString
in class java.lang.Object