Class ControlledExecutor

  • All Implemented Interfaces:
    java.util.concurrent.Executor, scala.concurrent.ExecutionContext, scala.concurrent.ExecutionContextExecutor

    public final class ControlledExecutor
    extends java.lang.Object
    implements scala.concurrent.ExecutionContextExecutor
    INTERNAL API
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface scala.concurrent.ExecutionContext

        scala.concurrent.ExecutionContext.Implicits$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(java.lang.Runnable task)  
      int queueSize()  
      void reportFailure​(java.lang.Throwable cause)  
      void runAll()  
      void runOne()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.concurrent.ExecutionContext

        prepare
    • Constructor Detail

      • ControlledExecutor

        public ControlledExecutor()
    • Method Detail

      • execute

        public void execute​(java.lang.Runnable task)
        Specified by:
        execute in interface scala.concurrent.ExecutionContext
        Specified by:
        execute in interface java.util.concurrent.Executor
      • queueSize

        public int queueSize()
      • reportFailure

        public void reportFailure​(java.lang.Throwable cause)
        Specified by:
        reportFailure in interface scala.concurrent.ExecutionContext
      • runAll

        public void runAll()
      • runOne

        public void runOne()