Class TaskQueue<T>

java.lang.Object
org.eclipse.net4j.util.concurrent.TaskQueue<T>

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

    • TaskQueue

      public TaskQueue()
  • Method Details

    • schedule

      public void schedule(T task)
    • getJobName

      protected String getJobName(T task)
    • handleException

      protected void handleException(T task, Exception ex)
    • execute

      protected abstract void execute(T task, IProgressMonitor monitor) throws Exception
      Throws:
      Exception