More information: http://www.cs.berkeley.edu/~mdw/proj/seda/

seda.sandStorm.api.internal
Interface StageWrapperIF

All Known Implementing Classes:
StageWrapper, aSocketStageWrapper, AFileTPStageWrapper

public interface StageWrapperIF

A StageWrapperIF is the internal representation for an application stage - an event handler coupled with a set of queues.

Author:
Matt Welsh

Method Summary
 void destroy()
          Destroy this stage.
 EventHandlerIF getEventHandler()
          Return the event handler associated with this stage.
 ResponseTimeControllerIF getResponseTimeController()
          Return a ResponseTimeControllerIF for this stage.
 SourceIF getSource()
          Return the source from which events should be pulled to pass to this EventHandlerIF.
 StageIF getStage()
          Return the StageIF for this stage.
 StageStatsIF getStats()
          Return a StageStatsIF interface which records and manages performance statistics for this stage.
 ThreadManagerIF getThreadManager()
          Return the thread manager which will run this stage.
 void init()
          Initialize this stage.
 

Method Detail

getStage

public StageIF getStage()
Return the StageIF for this stage.

getEventHandler

public EventHandlerIF getEventHandler()
Return the event handler associated with this stage.

getSource

public SourceIF getSource()
Return the source from which events should be pulled to pass to this EventHandlerIF.

getThreadManager

public ThreadManagerIF getThreadManager()
Return the thread manager which will run this stage.

getStats

public StageStatsIF getStats()
Return a StageStatsIF interface which records and manages performance statistics for this stage.

getResponseTimeController

public ResponseTimeControllerIF getResponseTimeController()
Return a ResponseTimeControllerIF for this stage.

init

public void init()
          throws java.lang.Exception
Initialize this stage.

destroy

public void destroy()
             throws java.lang.Exception
Destroy this stage.

More information: http://www.cs.berkeley.edu/~mdw/proj/seda/