Interface Supervisor

All Known Implementing Classes:
SimpleSupervisor

public interface Supervisor
Manages running tasks and informs users of their progress, but does not execute the task.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get a list of running or queued tasks.
    void
    monitor(Task<?> task)
    Monitor the given task.
  • Method Details

    • getTasks

      List<Task<?>> getTasks()
      Get a list of running or queued tasks.
      Returns:
      a list of tasks
    • monitor

      void monitor(Task<?> task)
      Monitor the given task.
      Parameters:
      task - the task