Class GaugeImpl

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.beam.sdk.metrics.Gauge, org.apache.beam.sdk.metrics.Metric

    public class GaugeImpl
    extends java.lang.Object
    implements org.apache.beam.sdk.metrics.Gauge
    Implementation of Gauge.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GaugeImpl​(org.apache.beam.sdk.metrics.MetricName name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.beam.sdk.metrics.MetricName getName()  
      void set​(long value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.beam.sdk.metrics.Metric

        getName
    • Constructor Detail

      • GaugeImpl

        public GaugeImpl​(org.apache.beam.sdk.metrics.MetricName name)
    • Method Detail

      • set

        public void set​(long value)
        Specified by:
        set in interface org.apache.beam.sdk.metrics.Gauge
      • getName

        public org.apache.beam.sdk.metrics.MetricName getName()