public interface WorkQueueManager
Modifier and Type | Method and Description |
---|---|
void |
addNamedWorkQueue(String name,
AutomaticWorkQueue q)
Adds a named work queue
|
AutomaticWorkQueue |
getAutomaticWorkQueue()
Get the manager's default work queue.
|
AutomaticWorkQueue |
getNamedWorkQueue(String name)
Get the named work queue.
|
void |
run()
Only returns after workqueue has been shutdown.
|
void |
shutdown(boolean processRemainingTasks)
Shuts down the manager's work queue.
|
AutomaticWorkQueue getAutomaticWorkQueue()
AutomaticWorkQueue getNamedWorkQueue(String name)
void addNamedWorkQueue(String name, AutomaticWorkQueue q)
name
- q
- void shutdown(boolean processRemainingTasks)
processRemainingTasks
is true, waits for the work queue to
shutdown before returning.processRemainingTasks
- - whether or not to wait for completionvoid run()
Apache CXF