Package | Description |
---|---|
java.lang |
Modifier and Type | Method and Description |
---|---|
void |
Object.notify()
Notify (at most) one thread that is waiting on a monitor.
|
void |
Object.notifyAll()
Notify all threads (if any) that are waiting on a monitor.
|
void |
Object.wait()
Wait forever.
|
void |
Object.wait(long millis)
Wait for x ms, 0 ns.
|
void |
Object.wait(long millis,
int nanos)
Wait on a monitor.
|