Class BlockingLatch

java.lang.Object
com.linkedin.alpini.base.concurrency.BlockingLatch

public class BlockingLatch extends Object
Created by acurtis on 10/16/17.
  • Constructor Details

    • BlockingLatch

      public BlockingLatch()
  • Method Details

    • await

      public final void await() throws InterruptedException
      Throws:
      InterruptedException
    • awaitUninterruptibly

      public final void awaitUninterruptibly()
    • await

      public final void await(long time, TimeUnit unit) throws InterruptedException
      Throws:
      InterruptedException
    • awaitUninterruptibly

      public final void awaitUninterruptibly(long time, TimeUnit unit)
    • unblock

      public void unblock()
    • block

      public void block()
    • isBlocking

      public final boolean isBlocking()
    • setBlock

      public void setBlock(boolean enabled)