Class HealthEndpoint
java.lang.Object
org.springframework.boot.health.actuate.endpoint.HealthEndpoint
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHealthEndpoint(HealthContributorRegistry registry, @Nullable ReactiveHealthContributorRegistry fallbackRegistry, HealthEndpointGroups groups, @Nullable Duration slowContributorLoggingThreshold) Create a newHealthEndpointinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected HealthDescriptoraggregateDescriptors(ApiVersion apiVersion, Map<String, HealthDescriptor> contributions, StatusAggregator statusAggregator, boolean showComponents, @Nullable Set<String> groupNames) health()@Nullable HealthDescriptorhealthForPath(String... path)
-
Field Details
-
ID
Health endpoint id.
-
-
Constructor Details
-
HealthEndpoint
public HealthEndpoint(HealthContributorRegistry registry, @Nullable ReactiveHealthContributorRegistry fallbackRegistry, HealthEndpointGroups groups, @Nullable Duration slowContributorLoggingThreshold) Create a newHealthEndpointinstance.- Parameters:
registry- the health contributor registryfallbackRegistry- the fallback registry ornullgroups- the health endpoint groupsslowContributorLoggingThreshold- duration after which slow health indicator logging should occur
-
-
Method Details
-
health
-
healthForPath
@ReadOperation public @Nullable HealthDescriptor healthForPath(@Selector(match=ALL_REMAINING) String... path) -
aggregateDescriptors
protected HealthDescriptor aggregateDescriptors(ApiVersion apiVersion, Map<String, HealthDescriptor> contributions, StatusAggregator statusAggregator, boolean showComponents, @Nullable Set<String> groupNames)
-