|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jmeter.visualizers.GraphAccumModel
The model that collects the average of the set of pages to be sampled.
| Field Summary | |
protected long |
averageSum
|
protected boolean |
bigChange
|
protected long |
counter
|
protected SampleResult |
current
|
protected List |
listeners
|
protected long |
max
|
protected String |
name
|
protected long |
previous
|
protected List |
samples
|
protected long |
variationSum
|
| Constructor Summary | |
GraphAccumModel()
Constructor. |
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String name
protected List samples
protected List listeners
protected long averageSum
protected long variationSum
protected long counter
protected long previous
protected long max
protected boolean bigChange
protected SampleResult current
| Constructor Detail |
public GraphAccumModel()
| Method Detail |
public void setName(String name)
name - the new Name valuepublic int getSampleCount()
public List getList()
public String getName()
public long getMax()
public void addGraphAccumListener(GraphAccumListener listener)
listener - the feature to be added to the GraphAccumListener attribute.public void clearData()
clearData in interface Clearablepublic void addNewSample(SampleResult res)
res - sample containing the resultsprotected void fireDataChanged()
protected void quickUpdate(SampleResult s)
|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||