public interface GaugeValueProvider<T extends Number>
GaugeValueProvider is used by Gauge for retrieving the value of the Gauge. For creating a Gauge, an instance of a class implementing
GaugeValueProvider is required.
A class implementing GaugeValueProvider should ensure that getValue() does not block the invoking thread. A
non-performant implementation of getValue() can potentially slow down metrics collection.
T getValue()
Copyright © 2014 Cloud Software Group, Inc.. All Rights Reserved.