| org.objectweb.celtix.workqueue.WorkQueueManager
All known Subclasses: org.objectweb.celtix.bus.workqueue.WorkQueueManagerImpl,
WorkQueueManager | public interface WorkQueueManager (Code) | | |
Inner Class : enum ThreadingModel | |
getThreadingModel | ThreadingModel getThreadingModel()(Code) | | Get the threading model.
ThreadingModel - either SINGLE_THREADED or MULTI_THREADED . |
run | void run()(Code) | | Only returns after workqueue has been shutdown.
|
setThreadingModel | void setThreadingModel(ThreadingModel model)(Code) | | Set the threading model.
Parameters: model - either SINGLE_THREADED or MULTI_THREADED . |
shutdown | void shutdown(boolean processRemainingTasks)(Code) | | Shuts down the manager's work queue. If
processRemainingTasks is true, waits for the work queue to
shutdown before returning.
Parameters: processRemainingTasks - - whether or not to wait for completion |
|
|