quartz-zookeeper-semaphore/src/main/java/fr/syalioune/scheduling/quartz/semaphore/ZkSemaphoreLeaderhsipRenewalThread.java
/**
   * Allow client to wait for the thread initialization.
   *
   * @throws LockException
   *          In case the calling thread is interrupted
   */
Allow client to wait for the thread initialization.

@throws LockException
In case the calling thread is interrupted
Allow client to wait for the thread initialization . @throws LockException In case the calling thread is interrupted
public void awaitInitialization() throws LockException {
    try {
      LOG.debug("Waiting for latch initialization");
      initializationLatch.await();
    } catch (InterruptedException e) {
      LOG.warn("The thread {} has been interrupted", Thread.currentThread().getName());
      throw new LockException(e.getMessage(),e);
    }
  }
public void awaitInitialization ( ) throws LockException { try { LOG . debug ( "Waiting for latch initialization" ) ; initializationLatch . await ( ) ; } catch ( InterruptedException e ) { LOG . warn ( "The thread {} has been interrupted" , Thread . currentThread ( ) . getName ( ) ) ; throw new LockException ( e . getMessage ( ) , e ) ; } }
Allow client to wait for the thread initialization.
Allow client to wait for the thread initialization .