Class MetricsOptions.NoOpMetricsSink

java.lang.Object
org.apache.beam.sdk.metrics.MetricsOptions.NoOpMetricsSink
All Implemented Interfaces:
DefaultValueFactory<Class<? extends MetricsSink>>
Enclosing interface:
MetricsOptions

public static class MetricsOptions.NoOpMetricsSink extends Object implements DefaultValueFactory<Class<? extends MetricsSink>>
A DefaultValueFactory that obtains the class of the NoOpMetricsSink if it exists on the classpath, and throws an exception otherwise.

As the NoOpMetricsSink is in an independent module, it cannot be directly referenced as the Default. However, it should still be used if available.