|
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 | +--mdw.sandStorm.internal.StageWrapper
A StageWrapper is a basic implementation of StageWrapperIF for application-level stages.
Constructor Summary | |
(package private) |
StageWrapper(java.lang.String name,
EventHandlerIF handler,
ConfigDataIF config,
ThreadManagerIF threadmgr)
Create a StageWrapper with the given name, handler, config data, and thread manager. |
(package private) |
StageWrapper(java.lang.String name,
EventHandlerIF handler,
ConfigDataIF config,
ThreadManagerIF threadmgr,
int queueThreshold)
Create a StageWrapper with the given name, handler, config data, thread manager, and queue threshold. |
Method Summary | |
void |
destroy()
Destroy this stage. |
EventHandlerIF |
getEventHandler()
Return the event handler associated with this stage. |
SourceIF |
getSource()
Return the set of sources from which events should be pulled to pass to this EventHandlerIF. |
StageIF |
getStage()
Return the stage handle for this stage. |
(package private) StageStats |
getStats()
Return execution statistics for this stage. |
ThreadManagerIF |
getThreadManager()
Return the thread manager which will run this stage. |
void |
init()
Initialize this stage. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
|
Constructor Detail |
StageWrapper(java.lang.String name, EventHandlerIF handler, ConfigDataIF config, ThreadManagerIF threadmgr)
StageWrapper(java.lang.String name, EventHandlerIF handler, ConfigDataIF config, ThreadManagerIF threadmgr, int queueThreshold)
Method Detail |
public void init() throws java.lang.Exception
init
in interface StageWrapperIF
public void destroy() throws java.lang.Exception
destroy
in interface StageWrapperIF
public EventHandlerIF getEventHandler()
getEventHandler
in interface StageWrapperIF
public StageIF getStage()
getStage
in interface StageWrapperIF
public SourceIF getSource()
getSource
in interface StageWrapperIF
public ThreadManagerIF getThreadManager()
getThreadManager
in interface StageWrapperIF
StageStats getStats()
public java.lang.String toString()
toString
in class java.lang.Object
|
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 |