frysk.util
Class CountDownLatch

java.lang.Object
  extended by frysk.util.CountDownLatch

public class CountDownLatch
extends Object

Implementation of CountDownLatch from java.util.concurrent in Java 1.5


Constructor Summary
CountDownLatch(int count)
           
 
Method Summary
 void await()
           
 boolean await(long timeout)
           
 void countDown()
           
 long getCount()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CountDownLatch

public CountDownLatch(int count)
               throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

await

public void await()
           throws InterruptedException
Throws:
InterruptedException

await

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

countDown

public void countDown()

getCount

public long getCount()

toString

public String toString()
Overrides:
toString in class Object