DefaultHealthIndicatorRegistry
@Deprecated public class HealthIndicatorRegistryFactory extends Object
HealthIndicatorRegistry
.Constructor and Description |
---|
HealthIndicatorRegistryFactory()
Deprecated.
|
HealthIndicatorRegistryFactory(Function<String,String> healthIndicatorNameFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HealthIndicatorRegistry |
createHealthIndicatorRegistry(Map<String,HealthIndicator> healthIndicators)
Deprecated.
Create a
HealthIndicatorRegistry based on the specified health indicators. |
protected <T extends HealthIndicatorRegistry> |
initialize(T registry,
Map<String,HealthIndicator> healthIndicators)
Deprecated.
|
public HealthIndicatorRegistryFactory(Function<String,String> healthIndicatorNameFactory)
public HealthIndicatorRegistryFactory()
public HealthIndicatorRegistry createHealthIndicatorRegistry(Map<String,HealthIndicator> healthIndicators)
HealthIndicatorRegistry
based on the specified health indicators.healthIndicators
- the HealthIndicator
instances mapped by nameHealthIndicator
that delegates to the specified
healthIndicators
.protected <T extends HealthIndicatorRegistry> T initialize(T registry, Map<String,HealthIndicator> healthIndicators)