Class ForkJoinExecutorConfigurator.PekkoForkJoinPool

  • All Implemented Interfaces:
    java.util.concurrent.Executor, java.util.concurrent.ExecutorService, LoadMetrics
    Enclosing class:
    ForkJoinExecutorConfigurator

    public static final class ForkJoinExecutorConfigurator.PekkoForkJoinPool
    extends java.util.concurrent.ForkJoinPool
    implements LoadMetrics
    INTERNAL PEKKO USAGE ONLY
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.concurrent.ForkJoinPool

        java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory, java.util.concurrent.ForkJoinPool.ManagedBlocker
    • Field Summary

      • Fields inherited from class java.util.concurrent.ForkJoinPool

        defaultForkJoinWorkerThreadFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      PekkoForkJoinPool​(int parallelism, java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory threadFactory, java.lang.Thread.UncaughtExceptionHandler unhandledExceptionHandler)  
      PekkoForkJoinPool​(int parallelism, java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory threadFactory, java.lang.Thread.UncaughtExceptionHandler unhandledExceptionHandler, boolean asyncMode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean atFullThrottle()  
      void execute​(java.lang.Runnable r)  
      • Methods inherited from class java.util.concurrent.ForkJoinPool

        awaitQuiescence, awaitTermination, commonPool, drainTasksTo, execute, getActiveThreadCount, getAsyncMode, getCommonPoolParallelism, getFactory, getParallelism, getPoolSize, getQueuedSubmissionCount, getQueuedTaskCount, getRunningThreadCount, getStealCount, getUncaughtExceptionHandler, hasQueuedSubmissions, invoke, invokeAll, isQuiescent, isShutdown, isTerminated, isTerminating, managedBlock, newTaskFor, newTaskFor, pollSubmission, shutdown, shutdownNow, submit, submit, submit, submit, toString
      • Methods inherited from class java.util.concurrent.AbstractExecutorService

        invokeAll, invokeAny, invokeAny
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PekkoForkJoinPool

        public PekkoForkJoinPool​(int parallelism,
                                 java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory threadFactory,
                                 java.lang.Thread.UncaughtExceptionHandler unhandledExceptionHandler,
                                 boolean asyncMode)
      • PekkoForkJoinPool

        public PekkoForkJoinPool​(int parallelism,
                                 java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory threadFactory,
                                 java.lang.Thread.UncaughtExceptionHandler unhandledExceptionHandler)
    • Method Detail

      • execute

        public void execute​(java.lang.Runnable r)
        Specified by:
        execute in interface java.util.concurrent.Executor
        Overrides:
        execute in class java.util.concurrent.ForkJoinPool