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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StageGraph
StageGraph(ManagerIF mgr)
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.