|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.utils.Concurrent
public class Concurrent
Utility class for concurrent computations.
Constructor Summary | |
---|---|
Concurrent()
|
Method Summary | |
---|---|
static boolean |
allAreDone(java.util.Collection<? extends java.util.concurrent.Future> futures)
|
static boolean |
allAreDone(java.util.concurrent.Future[] futures)
|
static void |
waitForAll(java.util.concurrent.Future[] futures)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Concurrent()
Method Detail |
---|
public static void waitForAll(java.util.concurrent.Future[] futures) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public static boolean allAreDone(java.util.concurrent.Future[] futures)
public static boolean allAreDone(java.util.Collection<? extends java.util.concurrent.Future> futures)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |