Class MetricsOptions.NoOpMetricsSink

  • All Implemented Interfaces:
    DefaultValueFactory<java.lang.Class<? extends MetricsSink>>
    Enclosing interface:
    MetricsOptions

    public static class MetricsOptions.NoOpMetricsSink
    extends java.lang.Object
    implements DefaultValueFactory<java.lang.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.