View Javadoc

1   package com.atlassian.util.concurrent;
2   
3   import java.util.concurrent.CountDownLatch;
4   
5   /**
6    * A Latch that may be reused, unlike a {@link CountDownLatch}.
7    */
8   public interface ReusableLatch extends Awaitable {
9       /**
10       * Release the latch, releasing one or more threads that are waiting on it.
11       */
12      void release();
13  }