- 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 Summary
Modifier and TypeMethodDescriptioncreate(MetricsSettings metricsSettings) Creates a newRegistryFactoryaccording to the specified metrics settings.
-
Method Details
-
create
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
-