seda.sandStorm.api.internal
Interface StageWrapperIF

All Known Implementing Classes:
AFileTPStageWrapper, aSocketStageWrapper, StageWrapper

public interface StageWrapperIF

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


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

StageIF getStage()
Return the StageIF for this stage.


getEventHandler

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


getSource

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


getThreadManager

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


getStats

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


getResponseTimeController

ResponseTimeControllerIF getResponseTimeController()
Return a ResponseTimeControllerIF for this stage.


init

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

Throws:
java.lang.Exception

destroy

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

Throws:
java.lang.Exception