Object.notifyAll

Object.notifyAll

Class Overview | Class Members | This Package | All Packages

Syntax
public final native void notifyAll()
Description
Wakes up all threads that are waiting on this object's monitor. A thread waits on an object's monitor by calling one of the wait methods.

This method should only be called by a thread that is the owner of this object's monitor. See the notify method for a description of the ways in which a thread can become the owner of a monitor.

Exceptions
IllegalMonitorStateException if the current thread is not the owner of this object's monitor.
See Also
notify, wait