org.apache.jmeter.visualizers
Class MonitorGraph
JComponent
org.apache.jmeter.visualizers.MonitorGraph
- Clearable, MonitorGuiListener
public class MonitorGraph
extends JComponent
MonitorGraph will draw the performance history of a given server. It displays
4 lines:
MonitorGraph
public MonitorGraph()
Only for use in unit testing
Needed for Serialization tests.
clearData
public void clearData()
clear will repaint the graph
- clearData in interface Clearable
paintComponent
public void paintComponent(Graphics g)
painComponent is responsible for drawing the actual graph. This is
because of how screen works. Tried to use clipping, but I don't
understand it well enough to get the desired effect.
setHealth
public void setHealth(boolean health)
setLoad
public void setLoad(boolean load)
setMem
public void setMem(boolean mem)
setThread
public void setThread(boolean thread)
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.