public class TableSample extends Object implements Serializable, Comparable<TableSample>
Constructor and Description |
---|
TableSample()
Deprecated.
for unit test code only
|
TableSample(long totalSamples,
int sampleCount,
long startTime,
String threadName,
String label,
long elapsed,
boolean success,
long bytes,
long sentBytes,
long latency,
long connect) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TableSample o) |
boolean |
equals(Object o) |
long |
getBytes() |
long |
getConnectTime() |
long |
getElapsed() |
String |
getLabel() |
long |
getLatency() |
String |
getSampleNumberString() |
long |
getSentBytes() |
long |
getStartTime() |
String |
getStartTimeFormatted(Format format) |
String |
getThreadName() |
int |
hashCode() |
boolean |
isSuccess() |
@Deprecated public TableSample()
public long getBytes()
public String getSampleNumberString()
public long getElapsed()
public boolean isSuccess()
public long getStartTime()
public String getStartTimeFormatted(Format format)
format
- the format to be used on the timepublic String getThreadName()
public String getLabel()
public int compareTo(TableSample o)
compareTo
in interface Comparable<TableSample>
public long getLatency()
public long getConnectTime()
public long getSentBytes()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.