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 NoOpHistogram
getName()
TheMetricName
given to this metric.void
update
(double value) Add an observation to this histogram.void
update
(double... value) Add observations to this histogram.
-
Method Details
-
update
public void update(double value) Description copied from interface:Histogram
Add an observation to this histogram. -
update
public void update(double... value) Description copied from interface:Histogram
Add observations to this histogram. -
getName
Description copied from interface:Metric
TheMetricName
given to this metric. -
getInstance
-