Class ReactiveHealthEndpointWebExtension
java.lang.Object
org.springframework.boot.actuate.health.ReactiveHealthEndpointWebExtension
@EndpointWebExtension(endpoint=HealthEndpoint.class)
@ImportRuntimeHints(org.springframework.boot.actuate.health.HealthEndpointWebExtensionRuntimeHints.class)
public class ReactiveHealthEndpointWebExtension
extends Object
Reactive
@EndpointWebExtension
for the
HealthEndpoint
.- Since:
- 2.0.0
- Author:
- Stephane Nicoll, Phillip Webb, Scott Frederick
-
Constructor Summary
ConstructorDescriptionReactiveHealthEndpointWebExtension
(ReactiveHealthContributorRegistry registry, HealthEndpointGroups groups) Deprecated.ReactiveHealthEndpointWebExtension
(ReactiveHealthContributorRegistry registry, HealthEndpointGroups groups, Duration slowIndicatorLoggingThreshold) Create a newReactiveHealthEndpointWebExtension
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<? extends HealthComponent>
aggregateContributions
(ApiVersion apiVersion, Map<String, reactor.core.publisher.Mono<? extends 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) protected reactor.core.publisher.Mono<? extends HealthComponent>
getHealth
(ReactiveHealthContributor contributor, boolean includeDetails) reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>>
health
(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext) reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>>
health
(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, boolean showAll, String... path) reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>>
health
(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, String... path)
-
Constructor Details
-
ReactiveHealthEndpointWebExtension
@Deprecated public ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry registry, HealthEndpointGroups groups) Deprecated.since 2.6.9 for removal in 3.0.0 in favor ofReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry, HealthEndpointGroups, Duration)
Create a newReactiveHealthEndpointWebExtension
instance.- Parameters:
registry
- the health contributor registrygroups
- the health endpoint groups
-
ReactiveHealthEndpointWebExtension
public ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry registry, HealthEndpointGroups groups, Duration slowIndicatorLoggingThreshold) Create a newReactiveHealthEndpointWebExtension
instance.- Parameters:
registry
- the health contributor registrygroups
- the health endpoint groupsslowIndicatorLoggingThreshold
- duration after which slow health indicator logging should occur- Since:
- 2.6.9
-
-
Method Details
-
health
@ReadOperation public reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext) -
health
@ReadOperation public reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, @Selector(match=ALL_REMAINING) String... path) -
health
public reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, boolean showAll, String... path) -
getHealth
protected reactor.core.publisher.Mono<? extends HealthComponent> getHealth(ReactiveHealthContributor contributor, boolean includeDetails) -
aggregateContributions
protected reactor.core.publisher.Mono<? extends HealthComponent> aggregateContributions(ApiVersion apiVersion, Map<String, reactor.core.publisher.Mono<? extends HealthComponent>> contributions, StatusAggregator statusAggregator, boolean showComponents, Set<String> groupNames) -
getCompositeHealth
protected final CompositeHealth getCompositeHealth(ApiVersion apiVersion, Map<String, HealthComponent> components, StatusAggregator statusAggregator, boolean showComponents, Set<String> groupNames)
-
ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry, HealthEndpointGroups, Duration)