Class TaskRunner

java.lang.Object
schule.ngb.zm.util.tasks.TaskRunner

public class TaskRunner extends Object
Führt Aufgaben (Tasks) parallel zum Hauptprogramm aus.
  • Method Details

    • getTaskRunner

      public static TaskRunner getTaskRunner()
    • run

      public static Future<?> run(Task task)
    • run

      public static Future<?> run(Runnable task)
    • run

      public static <T> Future<T> run(Runnable task, T result)
    • invokeLater

      public static Future<?> invokeLater(Runnable task)
    • invokeLater

      public static <T> Future<T> invokeLater(Runnable task, T result)
    • shutdown

      public static void shutdown()