Package org.apache.beam.sdk.metrics
Class NoOpHistogram
java.lang.Object
org.apache.beam.sdk.metrics.NoOpHistogram
- All Implemented Interfaces:
Serializable,Histogram,Metric
A no-op implementation of Histogram. This class exists to provide a default if an implementation
of MetricsContainer does not override a Histogram getter.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic NoOpHistogramgetName()TheMetricNamegiven to this metric.voidupdate(double value) Add an observation to this histogram.voidupdate(double... value) Add observations to this histogram.
-
Method Details
-
update
public void update(double value) Description copied from interface:HistogramAdd an observation to this histogram. -
update
public void update(double... value) Description copied from interface:HistogramAdd observations to this histogram. -
getName
Description copied from interface:MetricTheMetricNamegiven to this metric. -
getInstance
-