public final class ParallelStartupHelper extends Object
Constructor and Description |
---|
ParallelStartupHelper(int maxThreads)
Create a startup helper
|
public ParallelStartupHelper(int maxThreads)
maxThreads
- the max parallelization to usepublic <T> List<T> run(List<Callable<T>> actions)
actions
- the actions. should only throw RuntimeExceptions or else we'll wrapRuntimeException
- if an error occurredCancellationException
- if cancelled duringCopyright © 2015 Actian Corporation. All Rights Reserved.