Class Dispatcher


  • public class Dispatcher
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  Dispatcher.RequestProcessor
      It is important to keep this class an instance of DebuggableTask, either runnable or callable since this is the only way we can keep it not wrapped into a callable on SEPExecutor submission path.
      static class  Dispatcher.RequestTime  
    • Constructor Summary

      Constructors 
      Constructor Description
      Dispatcher​(boolean useLegacyFlusher)  
    • Constructor Detail

      • Dispatcher

        public Dispatcher​(boolean useLegacyFlusher)
    • Method Detail

      • hasQueueCapacity

        public boolean hasQueueCapacity()
        Checks if the item in the head of the queue has spent more than allowed time in the queue.
      • isDone

        public boolean isDone()
      • shutdown

        public static void shutdown()