Apache JMeter
1.9

org.apache.jmeter.visualizers
Class GraphModel

java.lang.Object
  |
  +--org.apache.jmeter.visualizers.GraphModel
All Implemented Interfaces:
Clearable, Serializable
Direct Known Subclasses:
TableDataModel

public class GraphModel
extends Object
implements Clearable, Serializable

Title: Apache JMeter Description: Copyright: Copyright (c) 2000 Company: Apache Foundation

Version:
1.0
Author:
Michael Stover
See Also:
Serialized Form

Constructor Summary
GraphModel()
          Constructor for the GraphModel object
 
Method Summary
 void addGraphListener(GraphListener listener)
          Adds a feature to the ModelListener attribute of the GraphModel object
protected  Sample addNewSample(long sample, long timeStamp, boolean success)
          Adds a feature to the NewSample attribute of the GraphModel object
 Sample addSample(SampleResult e)
          Adds a feature to the Sample attribute of the GraphModel object
 void clear()
          Description of the Method
protected  void fireDataChanged()
          Description of the Method
 long getCurrentAverage()
          Gets the CurrentAverage attribute of the GraphModel object
 long getCurrentData()
          Gets the CurrentData attribute of the GraphModel object
 long getCurrentDeviation()
          Gets the CurrentDeviation attribute of the GraphModel object
 long getCurrentMedian()
           
 float getCurrentThroughput()
           
 long getGraphMax()
           
 Class getGuiClass()
          Gets the GuiClass attribute of the GraphModel object
 long getMaxSample()
          Gets the Max attribute of the GraphModel object
 String getName()
          Gets the Name attribute of the GraphModel object
 int getSampleCount()
          Gets the SampleCount attribute of the GraphModel object
 List getSamples()
          Gets the Samples attribute of the GraphModel object
 int getThroughputMax()
           
protected  void quickUpdate(Sample s)
          Description of the Method
 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
 

Constructor Detail

GraphModel

public GraphModel()
Constructor for the GraphModel object

Method Detail

setName

public void setName(String name)
Sets the Name attribute of the GraphModel object

Parameters:
name - The new Name value

getCurrentData

public long getCurrentData()
Gets the CurrentData attribute of the GraphModel object

Returns:
The CurrentData value

getCurrentAverage

public long getCurrentAverage()
Gets the CurrentAverage attribute of the GraphModel object

Returns:
The CurrentAverage value

getCurrentMedian

public long getCurrentMedian()

getCurrentDeviation

public long getCurrentDeviation()
Gets the CurrentDeviation attribute of the GraphModel object

Returns:
The CurrentDeviation value

getCurrentThroughput

public float getCurrentThroughput()

getSampleCount

public int getSampleCount()
Gets the SampleCount attribute of the GraphModel object

Returns:
The SampleCount value

getSamples

public List getSamples()
Gets the Samples attribute of the GraphModel object

Returns:
The Samples value

getGuiClass

public Class getGuiClass()
Gets the GuiClass attribute of the GraphModel object

Returns:
The GuiClass value

getName

public String getName()
Gets the Name attribute of the GraphModel object

Returns:
The Name value

getMaxSample

public long getMaxSample()
Gets the Max attribute of the GraphModel object

Returns:
The Max value

getGraphMax

public long getGraphMax()

getThroughputMax

public int getThroughputMax()

addGraphListener

public void addGraphListener(GraphListener listener)
Adds a feature to the ModelListener attribute of the GraphModel object


addSample

public Sample addSample(SampleResult e)
Adds a feature to the Sample attribute of the GraphModel object

Parameters:
e - The feature to be added to the Sample attribute
Returns:
Description of the Returned Value

clear

public void clear()
Description of the Method

Specified by:
clear in interface Clearable

fireDataChanged

protected void fireDataChanged()
Description of the Method


quickUpdate

protected void quickUpdate(Sample s)
Description of the Method

Parameters:
s - Description of Parameter

addNewSample

protected Sample addNewSample(long sample,
                              long timeStamp,
                              boolean success)
Adds a feature to the NewSample attribute of the GraphModel object

Parameters:
sample - The feature to be added to the NewSample attribute

Apache JMeter
1.9

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