Class Latch

java.lang.Object
org.cometd.javascript.Latch

public class Latch extends Object
  • Constructor Details

    • Latch

      public Latch(int count)
  • Method Details

    • reset

      public void reset(int count)
    • await

      public boolean await(long timeout) throws InterruptedException
      Throws:
      InterruptedException
    • countDown

      public void countDown()
    • getCount

      public long getCount()