hasWaiters
Queries whether any threads are waiting on this condition. Implements AbstractQueuedSynchronizer.hasWaiters.
Return
true if there are any waiting threads
Throws
if .isHeldExclusively returns false
Queries whether any threads are waiting on this condition. Implements AbstractQueuedSynchronizer.hasWaiters.
true if there are any waiting threads
if .isHeldExclusively returns false