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)
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(long data)
Sample
public Sample(long data,
long average,
long deviation,
double throughput,
long median,
boolean success)
compareTo
public int compareTo(Object o)
getAverage
public long getAverage()
getBytes
public int getBytes()
getCount
public long getCount()
getData
public long getData()
- Returns the data (usually elapsed time)
getDeviation
public long getDeviation()
getDistributionLine
public long getDistributionLine()
- Returns the distributionLine.
getEndTime
public long getEndTime()
getErrorCount
public long getErrorCount()
getLabel
public String getLabel()
getMedian
public long getMedian()
getStartTime
public long getStartTime()
- Returns the (calculated) startTime, assuming Data is the elapsed time.
getStartTimeFormatted
public String getStartTimeFormatted(Format format)
- the start time using the specified format
Intended for use from Functors
getThreadName
public String getThreadName()
getThroughput
public double getThroughput()
isSuccess
public boolean isSuccess()