Class AggregatingVersionedMetric<T>

  • All Implemented Interfaces:
    com.codahale.metrics.Gauge<T>, com.codahale.metrics.Metric

    public class AggregatingVersionedMetric<T>
    extends Object
    implements com.codahale.metrics.Gauge<T>
    A Gauge based off of AggregatingVersionedSupplier that exposes methods to interact with the underlying Supplier.
    • Method Detail

      • getValue

        public T getValue()
        Specified by:
        getValue in interface com.codahale.metrics.Gauge<T>
      • update

        public void update​(Integer key,
                           T value)
      • getLastValueForKey

        public T getLastValueForKey​(Integer key)