public class NoOpMetricRegistry extends Object implements MetricRegistry
| Modifier and Type | Field and Description |
|---|---|
static MetricRegistry |
INSTANCE |
| Constructor and Description |
|---|
NoOpMetricRegistry() |
| Modifier and Type | Method and Description |
|---|---|
char |
getDelimiter()
Returns the global delimiter.
|
int |
getNumberReporters()
Returns the number of registered reporters.
|
ScopeFormats |
getScopeFormats()
Returns the scope formats.
|
void |
register(org.apache.flink.metrics.Metric metric,
String metricName,
AbstractMetricGroup group)
Registers a new
Metric with this registry. |
void |
unregister(org.apache.flink.metrics.Metric metric,
String metricName,
AbstractMetricGroup group)
Un-registers the given
Metric with this registry. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricQueryServiceGatewayRpcAddresspublic static final MetricRegistry INSTANCE
public char getDelimiter()
MetricRegistrygetDelimiter in interface MetricRegistrypublic int getNumberReporters()
MetricRegistrygetNumberReporters in interface MetricRegistrypublic void register(org.apache.flink.metrics.Metric metric,
String metricName,
AbstractMetricGroup group)
MetricRegistryMetric with this registry.register in interface MetricRegistrymetric - the metric that was addedmetricName - the name of the metricgroup - the group that contains the metricpublic void unregister(org.apache.flink.metrics.Metric metric,
String metricName,
AbstractMetricGroup group)
MetricRegistryMetric with this registry.unregister in interface MetricRegistrymetric - the metric that should be removedmetricName - the name of the metricgroup - the group that contains the metricpublic ScopeFormats getScopeFormats()
MetricRegistrygetScopeFormats in interface MetricRegistryCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.