Apache JMeter
2.0.1.20050615

org.apache.jmeter.visualizers
Class SplineModel

java.lang.Object
  extended byorg.apache.jmeter.visualizers.SplineModel
All Implemented Interfaces:
Clearable

public class SplineModel
extends Object
implements Clearable

Version:
$Revision: 1.6 $
Author:
Michael Stover

Field Summary
protected  long average
          Average of the samples.
protected  Spline3 dataCurve
          Current Spline curve.
 int DEFAULT_NUMBER_OF_NODES
           
 int DEFAULT_REFRESH_PERIOD
           
protected  long n
          Number of collected samples.
protected  int numberOfNodes
           
protected  int refreshPeriod
           
protected  boolean SHOW_INCOMING_SAMPLES
           
protected  long sum
          Sum of the samples.
 
Constructor Summary
SplineModel()
           
 
Method Summary
 void add(SampleResult sampleResult)
           
 void clear()
          Clears the current data of the object.
 Collection getAddList()
           
 long getAverage()
           
 String getClassLabel()
           
 long getCurrent()
           
 Spline3 getDataCurve()
           
 Class getGuiClass()
           
 long getMaximum()
           
 long getMinimum()
           
 String getName()
           
 int getNumberOfCollectedSamples()
           
 long getSample(int i)
           
 long[] getSamples()
           
 boolean isEditable()
           
 void setListener(GraphListener vis)
           
 void setName(String newName)
           
 void uncompile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NUMBER_OF_NODES

public final int DEFAULT_NUMBER_OF_NODES
See Also:
Constant Field Values

DEFAULT_REFRESH_PERIOD

public final int DEFAULT_REFRESH_PERIOD
See Also:
Constant Field Values

SHOW_INCOMING_SAMPLES

protected final boolean SHOW_INCOMING_SAMPLES
See Also:
Constant Field Values

numberOfNodes

protected int numberOfNodes

refreshPeriod

protected int refreshPeriod

dataCurve

protected Spline3 dataCurve
Current Spline curve.


sum

protected long sum
Sum of the samples.


average

protected long average
Average of the samples.


n

protected long n
Number of collected samples.

Constructor Detail

SplineModel

public SplineModel()
Method Detail

setListener

public void setListener(GraphListener vis)

setName

public void setName(String newName)

isEditable

public boolean isEditable()

getDataCurve

public Spline3 getDataCurve()

getGuiClass

public Class getGuiClass()

getAddList

public Collection getAddList()

getClassLabel

public String getClassLabel()

getMinimum

public long getMinimum()

getMaximum

public long getMaximum()

getAverage

public long getAverage()

getCurrent

public long getCurrent()

getSamples

public long[] getSamples()

getSample

public long getSample(int i)

getNumberOfCollectedSamples

public int getNumberOfCollectedSamples()

getName

public String getName()

uncompile

public void uncompile()

clear

public void clear()
Description copied from interface: Clearable
Clears the current data of the object.

Specified by:
clear in interface Clearable

add

public void add(SampleResult sampleResult)

Apache JMeter
2.0.1.20050615

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.