Interface ParallelExecutionConfiguration


@API(status=STABLE, since="1.10") public interface ParallelExecutionConfiguration
Configuration to use for parallel test execution.

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.

Since:
1.3
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the core thread pool size to be used.
    int
    Get the number of seconds for which inactive threads should be kept alive before terminating them and shrinking the thread pool.
    int
    Get the maximum thread pool size to be used.
    int
    Get the minimum number of runnable threads to be used.
    int
    Get the parallelism to be used.
    default Predicate<? super ForkJoinPool>
    Get the saturate predicate to be used for the execution's ForkJoinPool.