Class GaugeImpl<T>

  • All Implemented Interfaces:
    Supplier<T>, org.eclipse.microprofile.metrics.Gauge<T>, org.eclipse.microprofile.metrics.Metric

    @Vetoed
    public class GaugeImpl<T>
    extends Object
    implements org.eclipse.microprofile.metrics.Gauge<T>, Supplier<T>
    • Constructor Detail

      • GaugeImpl

        public GaugeImpl​(Method method,
                         Object target)
    • Method Detail

      • get

        public T get()
        Specified by:
        get in interface Supplier<T>
      • getValue

        public T getValue()
        Specified by:
        getValue in interface org.eclipse.microprofile.metrics.Gauge<T>