org.apache.jmeter.visualizers
Class Sample
java.lang.Object
org.apache.jmeter.visualizers.Sample
- All Implemented Interfaces:
- Comparable, Serializable
- public class Sample
- extends Object
- implements Serializable, Comparable
- Version:
- 1.0
- Author:
- Michael Stover
- See Also:
- Serialized Form
Constructor Summary |
Sample()
|
Sample(long data)
|
Sample(long data,
long average,
long deviation,
double throughput,
long median,
boolean success)
Constructor for the Sample object |
Sample(String name,
long data,
long average,
long deviation,
long median,
long distributionLine,
double throughput,
long errorCount,
boolean success,
long num,
long endTime)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
public long data
average
public long average
median
public long median
distributionLine
public long distributionLine
deviation
public long deviation
throughput
public double throughput
errorCount
public long errorCount
success
public boolean success
label
public String label
count
public long count
endTime
public long endTime
bytes
public int bytes
Sample
public Sample(long data,
long average,
long deviation,
double throughput,
long median,
boolean success)
- Constructor for the Sample object
- Parameters:
data
- Description of Parameteraverage
- Description of Parameterdeviation
- Description of Parameter
Sample
public Sample(long data)
Sample
public Sample(String name,
long data,
long average,
long deviation,
long median,
long distributionLine,
double throughput,
long errorCount,
boolean success,
long num,
long endTime)
Sample
public Sample()
getBytes
public int getBytes()
setBytes
public void setBytes(int size)
getAverage
public long getAverage()
- Returns:
- Returns the average.
setAverage
public void setAverage(long average)
- Parameters:
average
- The average to set.
getCount
public long getCount()
- Returns:
- Returns the count.
setCount
public void setCount(long count)
- Parameters:
count
- The count to set.
getData
public long getData()
- Returns:
- Returns the data.
setData
public void setData(long data)
- Parameters:
data
- The data to set.
getDeviation
public long getDeviation()
- Returns:
- Returns the deviation.
setDeviation
public void setDeviation(long deviation)
- Parameters:
deviation
- The deviation to set.
getDistributionLine
public long getDistributionLine()
- Returns:
- Returns the distributionLine.
setDistributionLine
public void setDistributionLine(long distributionLine)
- Parameters:
distributionLine
- The distributionLine to set.
isSuccess
public boolean isSuccess()
- Returns:
- Returns the error.
setSuccess
public void setSuccess(boolean success)
getErrorCount
public long getErrorCount()
- Returns:
- Returns the errorRate.
setErrorCount
public void setErrorCount(long errorCount)
getLabel
public String getLabel()
- Returns:
- Returns the label.
setLabel
public void setLabel(String label)
- Parameters:
label
- The label to set.
getMedian
public long getMedian()
- Returns:
- Returns the median.
setMedian
public void setMedian(long median)
- Parameters:
median
- The median to set.
getThroughput
public double getThroughput()
- Returns:
- Returns the throughput.
setThroughput
public void setThroughput(double throughput)
- Parameters:
throughput
- The throughput to set.
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
getEndTime
public long getEndTime()
- Returns:
- Returns the endTime.
setEndTime
public void setEndTime(long endTime)
- Parameters:
endTime
- The endTime to set.
Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.