org.apache.jmeter.visualizers
public class GraphAccumModel extends Object implements Clearable, Serializable
Constructor and Description |
---|
GraphAccumModel()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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<SampleResult> |
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.
|
public void setName(String name)
name
- the new Name valuepublic int getSampleCount()
public List<SampleResult> getList()
public String getName()
public long getMax()
public void addGraphAccumListener(GraphAccumListener listener)
listener
- the feature to be added to the GraphAccumListener attribute.public void addNewSample(SampleResult res)
res
- sample containing the resultsprotected void fireDataChanged()
protected void quickUpdate(SampleResult s)
Copyright © 1998-2014 Apache Software Foundation. All Rights Reserved.