|
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
public class 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 java.util.List |
listeners
|
protected long |
max
|
protected java.lang.String |
name
|
protected long |
previous
|
protected java.util.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. |
java.util.List |
getList()
Gets the List attribute of the GraphAccumModel object. |
long |
getMax()
Gets the Max attribute of the GraphAccumModel object. |
java.lang.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(java.lang.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 java.lang.String name
protected java.util.List samples
protected java.util.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(java.lang.String name)
name
- the new Name valuepublic int getSampleCount()
public java.util.List getList()
public java.lang.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 Clearable
public 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 |