cz.cuni.amis.utils
Class Concurrent

Package class diagram package Concurrent
java.lang.Object
  extended by cz.cuni.amis.utils.Concurrent

public class Concurrent
extends Object

Utility class for concurrent computations.

Author:
ik

Constructor Summary
Concurrent()
           
 
Method Summary
static boolean allAreDone(Collection<? extends Future> futures)
           
static boolean allAreDone(Future[] futures)
           
static void waitForAll(Future[] futures)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Concurrent

public Concurrent()
Method Detail

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 © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.