Interface ParallelExecutionConfiguration

    • Method Detail

      • getParallelism

        int getParallelism()
        Get the parallelism to be used.
        See Also:
        ForkJoinPool.getParallelism()
      • getMinimumRunnable

        int getMinimumRunnable()
        Get the minimum number of runnable threads to be used.
      • getMaxPoolSize

        int getMaxPoolSize()
        Get the maximum thread pool size to be used.
      • getCorePoolSize

        int getCorePoolSize()
        Get the core thread pool size to be used.
      • getKeepAliveSeconds

        int getKeepAliveSeconds()
        Get the number of seconds for which inactive threads should be kept alive before terminating them and shrinking the thread pool.
      • getSaturatePredicate

        @API(status=EXPERIMENTAL,
             since="1.9")
        default java.util.function.Predicate<? super java.util.concurrent.ForkJoinPool> getSaturatePredicate()
        Get the saturate predicate to be used for the execution's ForkJoinPool.
        Returns:
        the saturate predicate to be passed to the ForkJoinPool constructor; may be null
        Since:
        1.9
        See Also:
        ForkJoinPool(int, ForkJoinPool.ForkJoinWorkerThreadFactory, Thread.UncaughtExceptionHandler, boolean, int, int, int, Predicate, long, TimeUnit)