This method calls wait() on a java.util.concurrent.locks.Condition object. Waiting for a Condition should be done using one of the await() methods defined by the Condition interface.
wait()
java.util.concurrent.locks.Condition
Condition
await()