Class TaskQueue<T>


  • public abstract class TaskQueue<T>
    extends java.lang.Object
    A queue that asynchronously, but orderly, executes tasks that have been scheduled to it.
    Since:
    3.13
    Author:
    Eike Stepper
    • Constructor Detail

      • TaskQueue

        public TaskQueue()
    • Method Detail

      • schedule

        public void schedule​(T task)
      • getJobName

        protected java.lang.String getJobName​(T task)
      • handleException

        protected void handleException​(T task,
                                       java.lang.Exception ex)
      • execute

        protected abstract void execute​(T task,
                                        IProgressMonitor monitor)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception