Package org.apache.jmeter.visualizers
Class TableSample
- java.lang.Object
-
- org.apache.jmeter.visualizers.TableSample
-
- All Implemented Interfaces:
Serializable
,Comparable<TableSample>
public class TableSample extends Object implements Serializable, Comparable<TableSample>
Class to hold data for the TableVisualiser.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TableSample()
Deprecated.for unit test code onlyTableSample(long totalSamples, int sampleCount, long startTime, String threadName, String label, long elapsed, boolean success, long bytes, long latency, long connect)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TableSample o)
boolean
equals(Object o)
long
getBytes()
long
getConnectTime()
long
getElapsed()
String
getLabel()
long
getLatency()
String
getSampleNumberString()
long
getStartTime()
String
getStartTimeFormatted(Format format)
String
getThreadName()
int
hashCode()
boolean
isSuccess()
-
-
-
Constructor Detail
-
TableSample
@Deprecated public TableSample()
Deprecated.for unit test code only
-
-
Method Detail
-
getBytes
public long getBytes()
-
getSampleNumberString
public String getSampleNumberString()
-
getElapsed
public long getElapsed()
-
isSuccess
public boolean isSuccess()
-
getStartTime
public long getStartTime()
-
getStartTimeFormatted
public String getStartTimeFormatted(Format format)
- Parameters:
format
- the format to be used on the time- Returns:
- the start time using the specified format Intended for use from Functors
-
getThreadName
public String getThreadName()
-
getLabel
public String getLabel()
-
compareTo
public int compareTo(TableSample o)
- Specified by:
compareTo
in interfaceComparable<TableSample>
-
getLatency
public long getLatency()
- Returns:
- the latency
-
getConnectTime
public long getConnectTime()
- Returns:
- the conneect time
-
-