|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThreadManager
A ThreadManager handles the thread policies for EventPipelines. It works hand in hand with the DefaultCommandManager, and can be expanded to work with a SEDA like architecture.
Method Summary | |
---|---|
java.util.Collection |
getRegisteredPipelines()
Get the collection of registered pipelines. |
void |
register(EventPipeline pipeline)
Register an EventPipeline with the ThreadManager. |
void |
stop()
Stop managing the pipelines, and shut down all threads in use. |
void |
unregister(EventPipeline pipeline)
Deregister an EventPipeline with the ThreadManager. |
void |
unregisterAll()
Deregisters all EventPipelines from this ThreadManager. |
Method Detail |
---|
void register(EventPipeline pipeline)
pipeline
- The pipeline to registervoid unregister(EventPipeline pipeline)
pipeline
- The pipeline to unregistervoid unregisterAll()
java.util.Collection getRegisteredPipelines()
void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |