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