Interface TaskManagerRegistry

All Superinterfaces:
AutoCloseable, org.apache.camel.Service, org.apache.camel.StaticService
All Known Implementing Classes:
DefaultTaskManagerRegistry

public interface TaskManagerRegistry extends org.apache.camel.StaticService
A registry for current tasks (foreground and background) that has been submitted for running.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addTask(Task task)
    Adds the task
    int
    Number of tasks
    Gets the current list of tasks
    void
    Removes the task

    Methods inherited from interface org.apache.camel.Service

    build, close, init, start, stop
  • Method Details

    • addTask

      void addTask(Task task)
      Adds the task
    • removeTask

      void removeTask(Task task)
      Removes the task
    • getSize

      int getSize()
      Number of tasks
    • getTasks

      Set<Task> getTasks()
      Gets the current list of tasks