Class MetricRecorderImpl.BatchRecorderImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      BatchRecorderImpl​(MetricSink sink, java.util.BitSet allowedInstruments)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void recordLongGauge​(LongGaugeMetricInstrument metricInstrument, long value, java.util.List<java.lang.String> requiredLabelValues, java.util.List<java.lang.String> optionalLabelValues)
      Record a long gauge value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • allowedInstruments

        private final java.util.BitSet allowedInstruments
    • Constructor Detail

      • BatchRecorderImpl

        BatchRecorderImpl​(MetricSink sink,
                          java.util.BitSet allowedInstruments)
    • Method Detail

      • recordLongGauge

        public void recordLongGauge​(LongGaugeMetricInstrument metricInstrument,
                                    long value,
                                    java.util.List<java.lang.String> requiredLabelValues,
                                    java.util.List<java.lang.String> optionalLabelValues)
        Description copied from interface: MetricRecorder.BatchRecorder
        Record a long gauge value.
        Specified by:
        recordLongGauge in interface MetricRecorder.BatchRecorder
        value - The value to record.
        requiredLabelValues - A list of required label values for the metric.
        optionalLabelValues - A list of additional, optional label values for the metric.