Class WorkQueue


  • public class WorkQueue
    extends java.lang.Object
    Simple work queue to run tasks in the background
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.concurrent.ScheduledThreadPoolExecutor executor  
      (package private) static java.lang.Object executorKiller  
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkQueue()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.concurrent.ScheduledThreadPoolExecutor getExecutor()
      Get the WorkQueue's executor
      • Methods inherited from class java.lang.Object

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

      • executor

        private static final java.util.concurrent.ScheduledThreadPoolExecutor executor
      • executorKiller

        static final java.lang.Object executorKiller
    • Constructor Detail

      • WorkQueue

        public WorkQueue()
    • Method Detail

      • getExecutor

        public static java.util.concurrent.ScheduledThreadPoolExecutor getExecutor()
        Get the WorkQueue's executor
        Returns:
        the WorkQueue's executor