|
More information: http://www.cs.berkeley.edu/~mdw/proj/seda/ | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--seda.sandStorm.internal.sandStormMgr
This class provides management functionality for the Sandstorm runtime system. It is responsible for initializing the system, creating and registering stages and thread managers, and other administrative functions. Stages and thread managers can interact with this class through the ManagerIF and SystemManagerIF interfaces; this class should not be used directly.
ManagerIF,
SystemManagerIF| Fields inherited from interface seda.sandStorm.api.ManagerIF |
MAINSINK |
| Fields inherited from interface seda.sandStorm.internal.sandStormConst |
MAJOR_VERSION, MINOR_VERSION, VERSION_STRING, WELCOME_STRING |
| Constructor Summary | |
sandStormMgr(SandstormConfig mgrconfig)
Create a sandStormMgr which reads its configuration from the given file. |
|
| Method Summary | |
void |
addThreadManager(java.lang.String name,
ThreadManagerIF tm)
Add a thread manager with the given name. |
StageIF |
createStage(StageWrapperIF wrapper,
boolean initialize)
Create a stage from the given stage wrapper. |
StageIF |
createStage(java.lang.String stageName,
EventHandlerIF evHandler,
java.lang.String[] initargs)
Create a stage with the given name from the given event handler with the given initial arguments. |
SandstormConfig |
getConfig()
Return the SandstormConfig used to initialize this manager. |
ProfilerIF |
getProfiler()
Return the system profiler. |
SignalMgrIF |
getSignalMgr()
Return the system signal manager. |
StageIF |
getStage(java.lang.String stagename)
Return a handle to given stage. |
ThreadManagerIF |
getThreadManager()
Return the default thread manager. |
ThreadManagerIF |
getThreadManager(java.lang.String name)
Return the thread manager with the given name. |
void |
start()
Start the manager. |
void |
stop()
Stop the manager. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public sandStormMgr(SandstormConfig mgrconfig)
throws java.lang.Exception
| Method Detail |
public void start()
public void stop()
public StageIF getStage(java.lang.String stagename)
throws NoSuchStageException
getStage in interface ManagerIFseda.sandStorm.api.ManagerIFNoSuchStageException - Thrown if the stage does not exist.public ThreadManagerIF getThreadManager()
getThreadManager in interface SystemManagerIFpublic ThreadManagerIF getThreadManager(java.lang.String name)
getThreadManager in interface SystemManagerIF
public void addThreadManager(java.lang.String name,
ThreadManagerIF tm)
addThreadManager in interface SystemManagerIF
public StageIF createStage(java.lang.String stageName,
EventHandlerIF evHandler,
java.lang.String[] initargs)
throws java.lang.Exception
createStage in interface ManagerIFseda.sandStorm.api.ManagerIFstagename - The name under which the new stage should be registered.eventHandler - The event handler object which should be associated
with the new stage.initargs - The initial arguments to the stage, to be passed to
the new stage through a ConfigDataIF.java.lang.Exception - If an exception occurred during stage
creation or initialization.SystemManagerIF,
ConfigDataIF
public StageIF createStage(StageWrapperIF wrapper,
boolean initialize)
throws java.lang.Exception
createStage in interface SystemManagerIFpublic ProfilerIF getProfiler()
getProfiler in interface ManagerIFpublic SignalMgrIF getSignalMgr()
getSignalMgr in interface ManagerIFpublic SandstormConfig getConfig()
getConfig in interface ManagerIF
|
More information: http://www.cs.berkeley.edu/~mdw/proj/seda/ | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||