Class SliceExecutor

  • Direct Known Subclasses:
    QueueSizeBasedExecutor

    class SliceExecutor
    extends java.lang.Object
    Executor which is responsible for execution of slices based on the current status of the system and current system load
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.Executor executor  
    • Constructor Summary

      Constructors 
      Constructor Description
      SliceExecutor​(java.util.concurrent.Executor executor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void invokeAll​(java.util.Collection<? extends java.lang.Runnable> tasks)  
      protected void processTask​(java.lang.Runnable task, boolean shouldExecuteOnCallerThread)  
      • Methods inherited from class java.lang.Object

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

      • executor

        private final java.util.concurrent.Executor executor
    • Constructor Detail

      • SliceExecutor

        public SliceExecutor​(java.util.concurrent.Executor executor)
    • Method Detail

      • invokeAll

        public void invokeAll​(java.util.Collection<? extends java.lang.Runnable> tasks)
      • processTask

        protected void processTask​(java.lang.Runnable task,
                                   boolean shouldExecuteOnCallerThread)