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 Type
    Method
    Description
    int
    Returns the total number of all calls in this measurement.
    int
    Returns the number of failed calls in this measurement.
    int
    Returns the number of calls in this measurement which were slower than a certain threshold.
    int
    Returns the number of failed calls in this measurement which were slower than a certain threshold.
    long
    Returns 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