| Modifier and Type | Field and Description |
|---|---|
static EndpointId |
ID
Health endpoint id.
|
| Constructor and Description |
|---|
HealthEndpoint(HealthContributorRegistry registry,
HealthEndpointGroups groups)
Create a new
HealthEndpoint instance. |
| Modifier and Type | Method and Description |
|---|---|
protected HealthComponent |
aggregateContributions(ApiVersion apiVersion,
java.util.Map<java.lang.String,HealthComponent> contributions,
StatusAggregator statusAggregator,
boolean showComponents,
java.util.Set<java.lang.String> groupNames) |
protected CompositeHealth |
getCompositeHealth(ApiVersion apiVersion,
java.util.Map<java.lang.String,HealthComponent> components,
StatusAggregator statusAggregator,
boolean showComponents,
java.util.Set<java.lang.String> groupNames) |
protected HealthComponent |
getHealth(HealthContributor contributor,
boolean includeDetails) |
HealthComponent |
health() |
HealthComponent |
healthForPath(java.lang.String... path) |
public static final EndpointId ID
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) java.lang.String... path)
protected HealthComponent getHealth(HealthContributor contributor, boolean includeDetails)
protected HealthComponent aggregateContributions(ApiVersion apiVersion, java.util.Map<java.lang.String,HealthComponent> contributions, StatusAggregator statusAggregator, boolean showComponents, java.util.Set<java.lang.String> groupNames)
protected final CompositeHealth getCompositeHealth(ApiVersion apiVersion, java.util.Map<java.lang.String,HealthComponent> components, StatusAggregator statusAggregator, boolean showComponents, java.util.Set<java.lang.String> groupNames)