org.apache.openejb.util
Class CountingLatch
java.lang.Object
org.apache.openejb.util.CountingLatch
public class CountingLatch
- extends Object
- Version:
- $Rev$ $Date$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountingLatch
public CountingLatch()
CountingLatch
public CountingLatch(int count)
await
public void await()
throws InterruptedException
- Throws:
InterruptedException
await
public boolean await(long timeout,
TimeUnit unit)
throws InterruptedException
- Throws:
InterruptedException
countDown
public void countDown()
countUp
public void countUp()
getCount
public long getCount()
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.