Package org.cometd.javascript
Class Latch
java.lang.Object
org.cometd.javascript.Latch
public class Latch
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Latch(int count)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Latch
public Latch(int count)
-
-
Method Details
-
reset
public void reset(int count) -
await
public boolean await(long timeout) throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
countDown
public void countDown() -
getCount
public long getCount()
-