Package org.apache.camel.support.task
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
Methods inherited from interface org.apache.camel.Service
build, close, init, start, stop
-
Method Details
-
addTask
Adds the task -
removeTask
Removes the task -
getSize
int getSize()Number of tasks -
getTasks
Gets the current list of tasks
-