@FunctionalInterface public interface IExecutorServiceFactory extends Serializable
ExecutorService instances.| Modifier and Type | Method and Description |
|---|---|
ExecutorService |
getExecutorService(int nParallelTasks)
Get an
ExecutorService for the given number of parallel tasks. |
@Nonnull ExecutorService getExecutorService(@Nonnegative int nParallelTasks)
ExecutorService for the given number of parallel tasks. It
is up to the implementation to interpret the value or not. The number of
parallel tasks can therefore considered a hint to the implementation.nParallelTasks - The number of parallel tasks to perform. Needs to be > 0.null ExecutorService object.Copyright © 2014–2019 Philip Helger. All rights reserved.