Constructor and Description |
---|
HealthEndpoint(HealthContributorRegistry registry,
HealthEndpointGroups groups)
Create a new
HealthEndpoint instance. |
HealthEndpoint(HealthIndicator healthIndicator)
Deprecated.
since 2.2.0 in favor of
HealthEndpoint(HealthContributorRegistry, HealthEndpointGroups) |
Modifier and Type | Method and Description |
---|---|
protected HealthComponent |
aggregateContributions(Map<String,HealthComponent> contributions,
StatusAggregator statusAggregator,
boolean includeDetails,
Set<String> groupNames) |
protected CompositeHealth |
getCompositeHealth(Map<String,HealthComponent> components,
StatusAggregator statusAggregator,
boolean includeDetails,
Set<String> groupNames) |
protected HealthComponent |
getHealth(HealthContributor contributor,
boolean includeDetails) |
HealthComponent |
health() |
HealthComponent |
healthForPath(String... path) |
@Deprecated public HealthEndpoint(HealthIndicator healthIndicator)
HealthEndpoint(HealthContributorRegistry, HealthEndpointGroups)
HealthEndpoint
instance that will use the given healthIndicator
to generate its response.healthIndicator
- the health indicatorpublic 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(Map<String,HealthComponent> contributions, StatusAggregator statusAggregator, boolean includeDetails, Set<String> groupNames)
protected final CompositeHealth getCompositeHealth(Map<String,HealthComponent> components, StatusAggregator statusAggregator, boolean includeDetails, Set<String> groupNames)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.