|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectseda.sandStorm.internal.StageWrapper
class StageWrapper
A StageWrapper is a basic implementation of StageWrapperIF for application-level stages.
Constructor Summary | |
---|---|
StageWrapper(ManagerIF mgr,
java.lang.String name,
EventHandlerIF handler,
ConfigDataIF config,
ThreadManagerIF threadmgr)
Create a StageWrapper with the given name, handler, config data, and thread manager. |
|
StageWrapper(ManagerIF mgr,
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. |
ResponseTimeControllerIF |
getResponseTimeController()
Return the response time controller, if any. |
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. |
StageStatsIF |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
StageWrapper(ManagerIF mgr, java.lang.String name, EventHandlerIF handler, ConfigDataIF config, ThreadManagerIF threadmgr)
StageWrapper(ManagerIF mgr, 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
java.lang.Exception
public void destroy() throws java.lang.Exception
destroy
in interface StageWrapperIF
java.lang.Exception
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
public StageStatsIF getStats()
getStats
in interface StageWrapperIF
public ResponseTimeControllerIF getResponseTimeController()
getResponseTimeController
in interface StageWrapperIF
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |