Interface InternalBridge.MetricRegistry.RegistryFactory

  • All Known Implementing Classes:
    RegistryFactory
    Enclosing interface:
    InternalBridge.MetricRegistry

    public static interface InternalBridge.MetricRegistry.RegistryFactory
    Abstraction of the RegistryFactory behavior used by internal Helidon clients.

    Using the name RegistryFactory here instead of just Factory should simplify changing the client code to use only the MP Metrics 2.0 implementation later.

    • Method Detail

      • getBridgeRegistry

        InternalBridge.MetricRegistry getBridgeRegistry​(org.eclipse.microprofile.metrics.MetricRegistry.Type type)
        Returns the MicroProfile metric MetricRegistry of the indicated registry type typed as the internal abstraction.
        Parameters:
        type - registry type selected
        Returns:
        MetricRegistry of the selected type