Package io.helidon.common.metrics
Interface InternalBridge.MetricRegistry.RegistryFactory
-
- Enclosing interface:
- InternalBridge.MetricRegistry
public static interface InternalBridge.MetricRegistry.RegistryFactoryAbstraction of theRegistryFactorybehavior used by internal Helidon clients.Using the name
RegistryFactoryhere instead of justFactoryshould simplify changing the client code to use only the MP Metrics 2.0 implementation later.
-
-
Field Summary
Fields Modifier and Type Field Description static InternalBridge.MetricRegistry.RegistryFactoryINSTANCEThe factory's singleton instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InternalBridge.MetricRegistrygetBridgeRegistry(MetricRegistry.Type type)Returns the MicroProfile metricMetricRegistryof the indicated registry type typed as the internal abstraction.
-
-
-
Field Detail
-
INSTANCE
static final InternalBridge.MetricRegistry.RegistryFactory INSTANCE
The factory's singleton instance.
-
-
Method Detail
-
getBridgeRegistry
InternalBridge.MetricRegistry getBridgeRegistry(MetricRegistry.Type type)
Returns the MicroProfile metricMetricRegistryof the indicated registry type typed as the internal abstraction.- Parameters:
type- registry type selected- Returns:
MetricRegistryof the selected type
-
-