org.apache.jmeter.visualizers
Class GraphAccumModel
- Clearable, Serializable
public class GraphAccumModel
The model that collects the average of the set of pages to be sampled.
void | addGraphAccumListener(GraphAccumListener listener) - Adds a feature to the ModelListener attribute of the GraphAccumModel
object.
|
void | addNewSample(SampleResult res) - Add the new sample to the results.
|
void | clearData() - Clear the results.
|
protected void | fireDataChanged() - Depending on whether the graph needs to be rescale call the appropriate
methods.
|
List | getList() - Gets the List attribute of the GraphAccumModel object.
|
long | getMax() - Gets the Max attribute of the GraphAccumModel object.
|
String | getName() - Gets the Name attribute of the GraphModel object.
|
int | getSampleCount() - Gets the SampleCount attribute of the GraphAccumModel object.
|
protected void | quickUpdate(SampleResult s) - The sample to be added did not exceed the current set of samples so do
not need to rescale graph.
|
void | setName(String name) - Sets the Name attribute of the GraphModel object.
|
averageSum
protected long averageSum
bigChange
protected boolean bigChange
counter
protected long counter
listeners
protected List listeners
name
protected String name
previous
protected long previous
samples
protected List samples
variationSum
protected long variationSum
GraphAccumModel
public GraphAccumModel()
Constructor.
addGraphAccumListener
public void addGraphAccumListener(GraphAccumListener listener)
Adds a feature to the ModelListener attribute of the GraphAccumModel
object.
listener
- the feature to be added to the GraphAccumListener attribute.
addNewSample
public void addNewSample(SampleResult res)
Add the new sample to the results.
res
- sample containing the results
fireDataChanged
protected void fireDataChanged()
Depending on whether the graph needs to be rescale call the appropriate
methods.
getList
public List getList()
Gets the List attribute of the GraphAccumModel object.
getMax
public long getMax()
Gets the Max attribute of the GraphAccumModel object.
getName
public String getName()
Gets the Name attribute of the GraphModel object.
getSampleCount
public int getSampleCount()
Gets the SampleCount attribute of the GraphAccumModel object.
quickUpdate
protected void quickUpdate(SampleResult s)
The sample to be added did not exceed the current set of samples so do
not need to rescale graph.
setName
public void setName(String name)
Sets the Name attribute of the GraphModel object.
name
- the new Name value
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.