public class HealthIndicatorRegistryFactory extends Object
HealthIndicatorRegistry
.Constructor and Description |
---|
HealthIndicatorRegistryFactory() |
HealthIndicatorRegistryFactory(Function<String,String> healthIndicatorNameFactory) |
Modifier and Type | Method and Description |
---|---|
HealthIndicatorRegistry |
createHealthIndicatorRegistry(Map<String,HealthIndicator> healthIndicators)
Create a
HealthIndicatorRegistry based on the specified health indicators. |
protected <T extends HealthIndicatorRegistry> |
initialize(T registry,
Map<String,HealthIndicator> healthIndicators) |
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)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.