Interface MeasurementData
- All Known Subinterfaces:
CumulativeMeasurement
- All Known Implementing Classes:
PackedAggregation,PartialAggregation
public interface MeasurementData
Represents a data structure that holds the results of a measurement.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the total number of all calls in this measurement.intReturns the number of failed calls in this measurement.intReturns the number of calls in this measurement which were slower than a certain threshold.intReturns the number of failed calls in this measurement which were slower than a certain threshold.longReturns the total duration of all calls in this measurement.
-
Method Details
-
getTotalDurationInMillis
long getTotalDurationInMillis()Returns the total duration of all calls in this measurement.- Returns:
- the total duration of all calls
-
getNumberOfSlowCalls
int getNumberOfSlowCalls()Returns the number of calls in this measurement which were slower than a certain threshold.- Returns:
- the number of calls which were slower than a certain threshold
-
getNumberOfSlowFailedCalls
int getNumberOfSlowFailedCalls()Returns the number of failed calls in this measurement which were slower than a certain threshold.- Returns:
- the number of failed calls which were slower than a certain threshold
-
getNumberOfFailedCalls
int getNumberOfFailedCalls()Returns the number of failed calls in this measurement.- Returns:
- the number of failed calls
-
getNumberOfCalls
int getNumberOfCalls()Returns the total number of all calls in this measurement.- Returns:
- the total number of all calls
-