Code example for Condition

Methods: signal

0
    _log.info("Resume requested"); 
    _controlLock.lock();
    try 
    { 
      _resumeRequested = true;
      _resumeRequestCondition.signal();
 
    } 
    finally 
    { 
      _controlLock.unlock();
    } 
  } 
 
  public void unpause()  
      throws InterruptedException 
  { 
    unpauseAsynchronously(); 
    awaitUnPause(); 
  } 
Connect your IDE to all the code out there  Get Codota for Java