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

seda.sandStorm.internal
Class StageGraph

java.lang.Object
  |
  +--seda.sandStorm.internal.StageGraph

public class StageGraph
extends java.lang.Object

This class provides an interface allowing operations to be performed on the graph of stages within the application. Used internally (for example, by AggThrottle) to determine stage connectivity and communication statistics. Gathers data from sources such as SinkProxy.

Author:
Matt Welsh
See Also:
AggThrottle, SinkProxy

Inner Class Summary
(package private)  class StageGraph.stageList
           
 
Constructor Summary
(package private) StageGraph(ManagerIF mgr)
           
 
Method Summary
 void addEdge(StageGraphEdge edge)
           
 void addStage(StageWrapperIF stage)
           
 void addThread(java.lang.Thread thread, StageWrapperIF stage)
           
 void dumpGraph()
          Output the graph in a format that can be used by the AT&T 'graphviz' program: http://www.research.att.com/sw/tools/graphviz/ Makes it easy to draw pretty pictures of stage graphs.
 StageGraphEdge[] getEdges()
           
 StageGraphEdge[] getEdgesFromStage(StageWrapperIF fromStage)
           
 StageWrapperIF getStageFromThread(java.lang.Thread thread)
           
 StageWrapperIF[] getStages()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StageGraph

StageGraph(ManagerIF mgr)
Method Detail

getStages

public StageWrapperIF[] getStages()

getEdges

public StageGraphEdge[] getEdges()

getEdgesFromStage

public StageGraphEdge[] getEdgesFromStage(StageWrapperIF fromStage)

getStageFromThread

public StageWrapperIF getStageFromThread(java.lang.Thread thread)

addStage

public void addStage(StageWrapperIF stage)

addThread

public void addThread(java.lang.Thread thread,
                      StageWrapperIF stage)

addEdge

public void addEdge(StageGraphEdge edge)

dumpGraph

public void dumpGraph()
Output the graph in a format that can be used by the AT&T 'graphviz' program: http://www.research.att.com/sw/tools/graphviz/ Makes it easy to draw pretty pictures of stage graphs.

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