Package org.apache.cxf.workqueue
Interface WorkQueueManager
- 
- All Known Implementing Classes:
- WorkQueueManagerImpl
 
 public interface WorkQueueManager
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddNamedWorkQueue(String name, AutomaticWorkQueue q)Adds a named work queueAutomaticWorkQueuegetAutomaticWorkQueue()Get the manager's default work queue.AutomaticWorkQueuegetNamedWorkQueue(String name)Get the named work queue.voidrun()Only returns after workqueue has been shutdown.voidshutdown(boolean processRemainingTasks)Shuts down the manager's work queue.
 
- 
- 
- 
Method Detail- 
getAutomaticWorkQueueAutomaticWorkQueue getAutomaticWorkQueue() Get the manager's default work queue.- Returns:
- AutomaticWorkQueue
 
 - 
getNamedWorkQueueAutomaticWorkQueue getNamedWorkQueue(String name) Get the named work queue.- Returns:
- AutomaticWorkQueue
 
 - 
addNamedWorkQueuevoid addNamedWorkQueue(String name, AutomaticWorkQueue q) Adds a named work queue- Parameters:
- name-
- q-
 
 - 
shutdownvoid shutdown(boolean processRemainingTasks) Shuts down the manager's work queue. IfprocessRemainingTasksis true, waits for the work queue to shutdown before returning.- Parameters:
- processRemainingTasks- - whether or not to wait for completion
 
 - 
runvoid run() Only returns after workqueue has been shutdown.
 
- 
 
-