Constructor and Description |
---|
HealthEndpoint(HealthContributorRegistry registry,
HealthEndpointGroups groups)
Create a new
HealthEndpoint instance. |
Modifier and Type | Method and Description |
---|---|
protected HealthComponent |
aggregateContributions(ApiVersion apiVersion,
Map<String,HealthComponent> contributions,
StatusAggregator statusAggregator,
boolean showComponents,
Set<String> groupNames) |
protected CompositeHealth |
getCompositeHealth(ApiVersion apiVersion,
Map<String,HealthComponent> components,
StatusAggregator statusAggregator,
boolean showComponents,
Set<String> groupNames) |
protected HealthComponent |
getHealth(HealthContributor contributor,
boolean includeDetails) |
HealthComponent |
health() |
HealthComponent |
healthForPath(String... path) |
public HealthEndpoint(HealthContributorRegistry registry, HealthEndpointGroups groups)
HealthEndpoint
instance.registry
- the health contributor registrygroups
- the health endpoint groups@ReadOperation public HealthComponent health()
@ReadOperation public HealthComponent healthForPath(@Selector(match=ALL_REMAINING) String... path)
protected HealthComponent getHealth(HealthContributor contributor, boolean includeDetails)
protected HealthComponent aggregateContributions(ApiVersion apiVersion, Map<String,HealthComponent> contributions, StatusAggregator statusAggregator, boolean showComponents, Set<String> groupNames)
protected final CompositeHealth getCompositeHealth(ApiVersion apiVersion, Map<String,HealthComponent> components, StatusAggregator statusAggregator, boolean showComponents, Set<String> groupNames)