|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.util.CountingLatch
public class CountingLatch
Constructor Summary | |
---|---|
CountingLatch()
|
|
CountingLatch(int count)
|
Method Summary | |
---|---|
void |
await()
|
boolean |
await(long timeout,
java.util.concurrent.TimeUnit unit)
|
void |
countDown()
|
void |
countUp()
|
long |
getCount()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CountingLatch()
public CountingLatch(int count)
Method Detail |
---|
public void await() throws java.lang.InterruptedException
java.lang.InterruptedException
public boolean await(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
java.lang.InterruptedException
public void countDown()
public void countUp()
public long getCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |