Interface SingleValueMeasurement<T extends SingleValueEvent<V>,V>

All Superinterfaces:
Consumer<T>, Measurement<T>
All Known Implementing Classes:
LagBehindSourceMeasurement, SingleValueLongMeasurement, SingleValueLongMeasurementWithStats

public interface SingleValueMeasurement<T extends SingleValueEvent<V>,V> extends Measurement<T>
A measurement which measures only a single variable. Supports basic statistics over some time period, like minimal, maximal and average values or sum of the values.
Author:
vjuranek
  • Method Details

    • reset

      void reset()
    • getLastValue

      V getLastValue()
    • getMinValue

      V getMinValue()
    • getMaxValue

      V getMaxValue()
    • getSum

      V getSum()
    • getAverageValue

      Double getAverageValue()