seda.sandStorm.api.internal
Interface ThreadManagerIF

All Known Implementing Classes:
AFileTM, AFileTPTM, AggTPSThreadManager, aSocketRCTMSleep, aSocketThreadManager, TPPThreadManager, TPSThreadManager

public interface ThreadManagerIF

A ThreadManagerIF is responsible for creating, managing, and scheduling threads across a set of stages.


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.
 

Method Detail

register

void register(StageWrapperIF stage)
Register a stage with this thread manager and start its threads.


deregister

void deregister(StageWrapperIF stage)
Deregister a stage with this thread manager and stop its threads.


deregisterAll

void deregisterAll()
Stop the thread manager and all threads managed by it.