Package io.helidon.metrics
Class InternalBridgeImpl
- java.lang.Object
-
- io.helidon.metrics.InternalBridgeImpl
-
- All Implemented Interfaces:
InternalBridge
public class InternalBridgeImpl extends Object implements InternalBridge
Implements the metrics bridge interface.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.helidon.common.metrics.InternalBridge
InternalBridge.Metadata, InternalBridge.MetricID, InternalBridge.MetricRegistry, InternalBridge.Tag
-
-
Field Summary
-
Fields inherited from interface io.helidon.common.metrics.InternalBridge
INSTANCE
-
-
Constructor Summary
Constructors Constructor Description InternalBridgeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegistryFactorycreateRegistryFactory()Creates a newRegistryFactorywith the default configuration, as exposed through theInternalBridge.RegistryFactoryinterface.RegistryFactorycreateRegistryFactory(Config config)Creates a newRegistryFactorywith the specified configuration, as exposed through theInternalBridge.RegistryFactoryinterface.InternalBridge.Metadata.MetadataBuilder.FactorygetMetadataBuilderFactory()InternalBridge.MetricID.FactorygetMetricIDFactory()RegistryFactorygetRegistryFactory()
-
-
-
Method Detail
-
getRegistryFactory
public RegistryFactory getRegistryFactory()
- Specified by:
getRegistryFactoryin interfaceInternalBridge- Returns:
- the singleton registry factory
-
createRegistryFactory
public RegistryFactory createRegistryFactory()
Description copied from interface:InternalBridgeCreates a newRegistryFactorywith the default configuration, as exposed through theInternalBridge.RegistryFactoryinterface.- Specified by:
createRegistryFactoryin interfaceInternalBridge- Returns:
- the new
RegistryFactory
-
createRegistryFactory
public RegistryFactory createRegistryFactory(Config config)
Description copied from interface:InternalBridgeCreates a newRegistryFactorywith the specified configuration, as exposed through theInternalBridge.RegistryFactoryinterface.- Specified by:
createRegistryFactoryin interfaceInternalBridge- Parameters:
config- the HelidonConfigto use in initializing the factory.- Returns:
- the new
RegistryFactory
-
getMetricIDFactory
public InternalBridge.MetricID.Factory getMetricIDFactory()
- Specified by:
getMetricIDFactoryin interfaceInternalBridge- Returns:
- the singleton metric ID factory
-
getMetadataBuilderFactory
public InternalBridge.Metadata.MetadataBuilder.Factory getMetadataBuilderFactory()
- Specified by:
getMetadataBuilderFactoryin interfaceInternalBridge- Returns:
- the singleton metadata builder factory
-
-