|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WorkQueueManager
| Nested Class Summary | |
|---|---|
static class |
WorkQueueManager.ThreadingModel
|
| Method Summary | |
|---|---|
AutomaticWorkQueue |
getAutomaticWorkQueue()
Get the manager's work queue. |
WorkQueueManager.ThreadingModel |
getThreadingModel()
Get the threading model. |
void |
run()
Only returns after workqueue has been shutdown. |
void |
setThreadingModel(WorkQueueManager.ThreadingModel model)
Set the threading model. |
void |
shutdown(boolean processRemainingTasks)
Shuts down the manager's work queue. |
| Method Detail |
|---|
AutomaticWorkQueue getAutomaticWorkQueue()
WorkQueueManager.ThreadingModel getThreadingModel()
SINGLE_THREADED
or MULTI_THREADED.void setThreadingModel(WorkQueueManager.ThreadingModel model)
model - either SINGLE_THREADED
or MULTI_THREADED.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 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||