Interface CumulativeMeasurement

All Superinterfaces:
MeasurementData
All Known Implementing Classes:
PackedAggregation, PartialAggregation

public interface CumulativeMeasurement extends MeasurementData
Interface for measurement implementations that accumulate calls durations and outcomes.
  • Method Details

    • record

      void record(long duration, TimeUnit durationUnit, Metrics.Outcome outcome)
      Records a call duration and its outcome.
      Parameters:
      duration - the call duration
      durationUnit - the time unit of the call duration
      outcome - the outcome of the call