public class MultiThreadingUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
runActionsParallel(List<Callable<T>> actions,
int numberOfThreads)
Runs a list of Callable actions in parallel using a fixed thread pool.
|
public static <T> List<T> runActionsParallel(List<Callable<T>> actions, int numberOfThreads)
T - the type of the result returned by the Callable actionsactions - the list of Callable actions to be executednumberOfThreads - the number of threads to use for parallel executionCopyright © 1998–2025 Apryse Group NV. All rights reserved.