mdw.sandStorm.api.internal
Interface ThreadManagerIF
- All Known Implementing Classes:
- TPSThreadManager, aSocketThreadManager, aSocketRCTMSleep, AFileTPTM, AFileTM
- public interface ThreadManagerIF
A ThreadManagerIF is responsible for creating, managing, and scheduling
threads across a set of stages.
- Author:
- Matt Welsh
Method Summary |
void |
deregister(StageWrapperIF stage)
Deregister a stage with this thread manager and stop its threads. |
void |
deregisterAll()
Stop the thread manager and all threads managed by it. |
void |
register(StageWrapperIF stage)
Register a stage with this thread manager and start its threads. |
register
public void register(StageWrapperIF stage)
- Register a stage with this thread manager and start its threads.
deregister
public void deregister(StageWrapperIF stage)
- Deregister a stage with this thread manager and stop its threads.
deregisterAll
public void deregisterAll()
- Stop the thread manager and all threads managed by it.