-
- All Known Implementing Classes:
RegistryFactoryProviderImpl
public interface RegistryFactoryProviderProvidesRegistryFactoryinstances.A component that contains an implementation of
RegistryFactoryProvidershould identify it using the service loader mechanism.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RegistryFactorycreate(MetricsSettings metricsSettings)Creates a newRegistryFactoryaccording to the specified metrics settings.
-
-
-
Method Detail
-
create
RegistryFactory create(MetricsSettings metricsSettings)
Creates a newRegistryFactoryaccording to the specified metrics settings.Implementations of this method should assume that
MetricsSettings.isEnabled()istrueand do not need to check that themselves.- Parameters:
metricsSettings- theMetricsSettingsto use in creating the new registry factory- Returns:
- a new
RegistryFactorybased on the provided metrics settings
-
-