Instances of this class are intended to be used to configure
implementations of HierarchicalTestExecutorService. Such
implementations may use all of the properties in this class or
only a subset.
ForkJoinPoolHierarchicalTestExecutorService, ParallelExecutionConfigurationStrategy, DefaultParallelExecutionConfigurationStrategy
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | getKeepAliveSeconds()
Get the number of seconds for which inactive threads should be kept alive before terminating them and shrinking the thread pool. |
| public int | |
| public int | |
| public int | |
| public default @Nullable Predicate | Returns: the saturate predicate to be passed to theForkJoinPool constructor; may be nullGet the saturate predicate to be used for the execution's |
| getCorePoolSize | back to summary |
|---|---|
| public int getCorePoolSize() Get the core thread pool size to be used. | |
| getKeepAliveSeconds | back to summary |
|---|---|
| public int getKeepAliveSeconds() Get the number of seconds for which inactive threads should be kept alive before terminating them and shrinking the thread pool. | |
| getMaxPoolSize | back to summary |
|---|---|
| public int getMaxPoolSize() Get the maximum thread pool size to be used. | |
| getMinimumRunnable | back to summary |
|---|---|
| public int getMinimumRunnable() Get the minimum number of runnable threads to be used. | |
| getParallelism | back to summary |
|---|---|
| public int getParallelism() Get the parallelism to be used.
| |
| getSaturatePredicate | back to summary |
|---|---|
| public default @Nullable Predicate Get the saturate predicate to be used for the execution's
| |