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