Class SubmissionPublisher.ThreadPerTaskExecutor

  • All Implemented Interfaces:
    java.util.concurrent.Executor
    Enclosing class:
    SubmissionPublisher<T>

    private static final class SubmissionPublisher.ThreadPerTaskExecutor
    extends java.lang.Object
    implements java.util.concurrent.Executor
    Fallback if ForkJoinPool.commonPool() cannot support parallelism
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(java.lang.Runnable r)  
      • Methods inherited from class java.lang.Object

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

      • ThreadPerTaskExecutor

        private ThreadPerTaskExecutor()
    • Method Detail

      • execute

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