Package org.apache.jmeter.visualizers
Class Sample
- java.lang.Object
-
- org.apache.jmeter.visualizers.Sample
-
- All Implemented Interfaces:
Serializable,Comparable<Sample>
public class Sample extends Object implements Serializable, Comparable<Sample>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Sample()Sample(String name, long data, long average, long deviation, long median, long distributionLine, double throughput, long errorCount, boolean success, long num, long endTime)Sample(String name, long data, long average, long deviation, long median, long distributionLine, double throughput, long errorCount, boolean success, long num, long endTime, int bytes, String threadName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Sample o)booleanequals(Object o)longgetAverage()intgetBytes()longgetCount()longgetData()longgetDeviation()longgetDistributionLine()longgetEndTime()longgetErrorCount()StringgetLabel()longgetMedian()longgetStartTime()StringgetStartTimeFormatted(Format format)StringgetThreadName()doublegetThroughput()inthashCode()booleanisSuccess()
-
-
-
Constructor Detail
-
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(String name, long data, long average, long deviation, long median, long distributionLine, double throughput, long errorCount, boolean success, long num, long endTime, int bytes, String threadName)
-
Sample
public Sample()
-
-
Method Detail
-
getBytes
public int getBytes()
-
getAverage
public long getAverage()
- Returns:
- Returns the average.
-
getCount
public long getCount()
- Returns:
- Returns the count.
-
getData
public long getData()
- Returns:
- Returns the data (usually elapsed time)
-
getDeviation
public long getDeviation()
- Returns:
- Returns the deviation.
-
getDistributionLine
public long getDistributionLine()
- Returns:
- Returns the distributionLine.
-
isSuccess
public boolean isSuccess()
- Returns:
- Returns the error.
-
getErrorCount
public long getErrorCount()
- Returns:
- Returns the errorCount.
-
getLabel
public String getLabel()
- Returns:
- Returns the label.
-
getThreadName
public String getThreadName()
- Returns:
- Returns the threadName.
-
getMedian
public long getMedian()
- Returns:
- Returns the median.
-
getThroughput
public double getThroughput()
- Returns:
- Returns the throughput.
-
compareTo
public int compareTo(Sample o)
- Specified by:
compareToin interfaceComparable<Sample>
-
getEndTime
public long getEndTime()
- Returns:
- Returns the endTime.
-
getStartTime
public long getStartTime()
- Returns:
- Returns the (calculated) startTime, assuming Data is the elapsed time.
-
-