Package org.bithon.agent.sdk.metric
Class MetricRegistryFactory.EmptyMetricsRegistry<T>
java.lang.Object
org.bithon.agent.sdk.metric.MetricRegistryFactory.EmptyMetricsRegistry<T>
- All Implemented Interfaces:
IMetricsRegistry<T>
- Enclosing class:
- MetricRegistryFactory
static class MetricRegistryFactory.EmptyMetricsRegistry<T>
extends Object
implements IMetricsRegistry<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOrCreateMetric(String... dimensions) get a metrics that can be reset after metrics have been reported to remote servergetPermanentMetrics(String... dimensions) get a metrics that can NOT be reset after metrics have been reported to remote servervoid
-
Field Details
-
defaultCtor
-
-
Constructor Details
-
EmptyMetricsRegistry
-
-
Method Details
-
getOrCreateMetric
Description copied from interface:IMetricsRegistryget a metrics that can be reset after metrics have been reported to remote server- Specified by:
getOrCreateMetricin interfaceIMetricsRegistry<T>
-
getPermanentMetrics
Description copied from interface:IMetricsRegistryget a metrics that can NOT be reset after metrics have been reported to remote server- Specified by:
getPermanentMetricsin interfaceIMetricsRegistry<T>
-
unregister
public void unregister()- Specified by:
unregisterin interfaceIMetricsRegistry<T>
-