Class StatisticsSummaryData
-
- All Implemented Interfaces:
public class StatisticsSummaryData
The class ApdexSummaryData provides information for StatisticsSummaryConsumer.
- Since:
3.0
-
-
Field Summary
Fields Modifier and Type Field Description public long
firstTime
public long
endTime
public long
bytes
public long
sentBytes
public long
errors
public long
total
public final MeanAggregator
mean
public final PercentileAggregator
median
public final PercentileAggregator
percentile1
public final PercentileAggregator
percentile2
public final PercentileAggregator
percentile3
public long
min
public long
max
-
Constructor Summary
Constructors Constructor Description StatisticsSummaryData(double percentileIndex1, double percentileIndex2, double percentileIndex3)
Instantiates a new statistics info.
-
Method Summary
Modifier and Type Method Description final long
getFirstTime()
Gets the first time. final void
setFirstTime(long firstTime)
Sets the first time. final long
getEndTime()
Gets the end time. final void
setEndTime(long endTime)
Sets the end time. final long
getBytes()
Gets the bytes. final void
setBytes(long bytes)
Sets the bytes. long
getSentBytes()
final long
getErrors()
final void
setErrors(long errors)
final long
getTotal()
final void
setTotal(long total)
MeanAggregator
getMean()
PercentileAggregator
getMedian()
final PercentileAggregator
getPercentile1()
final PercentileAggregator
getPercentile2()
Gets the percentile2. final PercentileAggregator
getPercentile3()
Gets the percentile3. final long
getMin()
final void
setMin(long min)
final long
getMax()
final void
setMax(long max)
long
getElapsedTime()
double
getBytesPerSecond()
Gets the bytes per second. double
getKBytesPerSecond()
Gets the kilo bytes per second. double
getThroughput()
Gets the throughput. void
incTotal()
void
incBytes(long value)
Increment received bytes void
incSentBytes(long value)
Increment sent bytes void
incErrors()
double
getSentBytesPerSecond()
Gets the sent bytes per second. double
getSentKBytesPerSecond()
Gets the sent kilo bytes per second. -
-
Constructor Detail
-
StatisticsSummaryData
StatisticsSummaryData(double percentileIndex1, double percentileIndex2, double percentileIndex3)
Instantiates a new statistics info.- Parameters:
percentileIndex1
- value of first percentilepercentileIndex2
- value of second percentilepercentileIndex3
- value of third percentile
-
-
Method Detail
-
getFirstTime
final long getFirstTime()
Gets the first time.
- Returns:
the firstTime
-
setFirstTime
final void setFirstTime(long firstTime)
Sets the first time.
- Parameters:
firstTime
- the firstTime to set
-
getEndTime
final long getEndTime()
Gets the end time.
- Returns:
the endTime
-
setEndTime
final void setEndTime(long endTime)
Sets the end time.
- Parameters:
endTime
- the endTime to set
-
getBytes
final long getBytes()
Gets the bytes.
- Returns:
the bytes
-
setBytes
final void setBytes(long bytes)
Sets the bytes.
- Parameters:
bytes
- the bytes to set
-
getSentBytes
long getSentBytes()
- Returns:
the sentBytes
-
getErrors
final long getErrors()
- Returns:
the errors
-
setErrors
final void setErrors(long errors)
- Parameters:
errors
- the errors to set
-
getTotal
final long getTotal()
- Returns:
the total
-
setTotal
final void setTotal(long total)
- Parameters:
total
- the total to set
-
getMean
MeanAggregator getMean()
- Returns:
the mean response times
-
getMedian
PercentileAggregator getMedian()
- Returns:
the median response times
-
getPercentile1
final PercentileAggregator getPercentile1()
- Returns:
the percentile1
-
getPercentile2
final PercentileAggregator getPercentile2()
Gets the percentile2.
- Returns:
the percentile2
-
getPercentile3
final PercentileAggregator getPercentile3()
Gets the percentile3.
- Returns:
the percentile3
-
getMin
final long getMin()
- Returns:
the min
-
setMin
final void setMin(long min)
- Parameters:
min
- the min to set
-
getMax
final long getMax()
- Returns:
the max
-
setMax
final void setMax(long max)
- Parameters:
max
- the max to set
-
getElapsedTime
long getElapsedTime()
-
getBytesPerSecond
double getBytesPerSecond()
Gets the bytes per second.
- Returns:
the bytes per second
-
getKBytesPerSecond
double getKBytesPerSecond()
Gets the kilo bytes per second.
- Returns:
the kilo bytes per second
-
getThroughput
double getThroughput()
Gets the throughput.
- Returns:
the throughput
-
incTotal
void incTotal()
-
incBytes
void incBytes(long value)
Increment received bytes
- Parameters:
value
- bytes
-
incSentBytes
void incSentBytes(long value)
Increment sent bytes
- Parameters:
value
- bytes
-
incErrors
void incErrors()
-
getSentBytesPerSecond
double getSentBytesPerSecond()
Gets the sent bytes per second.
- Returns:
the sent bytes per second
-
getSentKBytesPerSecond
double getSentKBytesPerSecond()
Gets the sent kilo bytes per second.
- Returns:
the sent kilo bytes per second
-
-
-
-