hasWaiters
Queries whether any threads are waiting on the given condition associated with this synchronizer. Note that because timeouts and interrupts may occur at any time, a true return does not guarantee that a future signal will awaken any threads. This method is designed primarily for use in monitoring of the system state.
Return
true if there are any waiting threads
Parameters
condition
the condition
Throws
if exclusive synchronization is not held
if the given condition is not associated with this synchronizer
if the condition is null