Interface RegistryFactoryProvider

  • All Known Implementing Classes:

    public interface RegistryFactoryProvider
    Provides RegistryFactory instances.

    A component that contains an implementation of RegistryFactoryProvider should identify it using the service loader mechanism.

    • Method Detail

      • create

        RegistryFactory create​(MetricsSettings metricsSettings)
        Creates a new RegistryFactory according to the specified metrics settings.

        Implementations of this method should assume that MetricsSettings.isEnabled() is true and do not need to check that themselves.

        metricsSettings - the MetricsSettings to use in creating the new registry factory
        a new RegistryFactory based on the provided metrics settings