Interface RegistryFactoryProvider

All Known Implementing Classes:
RegistryFactoryProviderImpl

public interface RegistryFactoryProvider
Provides RegistryFactory instances.

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

  • Method Details

    • 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.

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