public class DependencyThreadPool extends Object
| Constructor and Description | 
|---|
| DependencyThreadPool(int k) | 
| Modifier and Type | Method and Description | 
|---|---|
| static List<List<? extends Callable<?>>> | createDependencyList(List<? extends Callable<?>> tasks,
                    Map<Integer[],Integer[]> depMap,
                    List<List<? extends Callable<?>>> dep) | 
| static DependencyTask<?> | createDependencyTask(Callable<?> task) | 
| static List<DependencyTask<?>> | createDependencyTasks(List<? extends Callable<?>> tasks,
                     List<List<? extends Callable<?>>> dependencies) | 
| void | shutdown() | 
| List<Future<Future<?>>> | submitAll(List<? extends Callable<?>> tasks,
         List<List<? extends Callable<?>>> dependencies) | 
| List<Future<Future<?>>> | submitAll(List<DependencyTask<?>> dtasks) | 
| List<Object> | submitAllAndWait(List<DependencyTask<?>> dtasks) | 
public void shutdown()
public List<Future<Future<?>>> submitAll(List<DependencyTask<?>> dtasks)
public List<Future<Future<?>>> submitAll(List<? extends Callable<?>> tasks, List<List<? extends Callable<?>>> dependencies)
public List<Object> submitAllAndWait(List<DependencyTask<?>> dtasks) throws ExecutionException, InterruptedException
public static DependencyTask<?> createDependencyTask(Callable<?> task)
public static List<List<? extends Callable<?>>> createDependencyList(List<? extends Callable<?>> tasks, Map<Integer[],Integer[]> depMap, List<List<? extends Callable<?>>> dep)
Copyright © 2021 The Apache Software Foundation. All rights reserved.