cz.cuni.amis.utils
Class Concurrent
java.lang.Object
cz.cuni.amis.utils.Concurrent
public class Concurrent
- extends Object
Utility class for concurrent computations.
- Author:
- ik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Concurrent
public Concurrent()
waitForAll
public static void waitForAll(Future[] futures)
throws InterruptedException,
ExecutionException
- Throws:
InterruptedException
ExecutionException
allAreDone
public static boolean allAreDone(Future[] futures)
allAreDone
public static boolean allAreDone(Collection<? extends Future> futures)
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.