@EndpointWebExtension(endpoint=HealthEndpoint.class) public class ReactiveHealthEndpointWebExtension extends Object
@EndpointWebExtension
for the
HealthEndpoint
.Constructor and Description |
---|
ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry registry,
HealthEndpointGroups groups)
Deprecated.
since 2.6.9 for removal in 3.0.0 in favor of
ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry, HealthEndpointGroups, Duration) |
ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry registry,
HealthEndpointGroups groups,
Duration slowIndicatorLoggingThreshold)
Create a new
ReactiveHealthEndpointWebExtension instance. |
Modifier and Type | Method and Description |
---|---|
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) |
protected 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) |
@Deprecated public ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry registry, HealthEndpointGroups groups)
ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry, HealthEndpointGroups, Duration)
ReactiveHealthEndpointWebExtension
instance.registry
- the health contributor registrygroups
- the health endpoint groupspublic ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry registry, HealthEndpointGroups groups, Duration slowIndicatorLoggingThreshold)
ReactiveHealthEndpointWebExtension
instance.registry
- the health contributor registrygroups
- the health endpoint groupsslowIndicatorLoggingThreshold
- duration after which slow health indicator
logging should occur@ReadOperation public reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext)
@ReadOperation public reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, @Selector(match=ALL_REMAINING) String... path)
public reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, boolean showAll, String... path)
protected reactor.core.publisher.Mono<? extends HealthComponent> getHealth(ReactiveHealthContributor contributor, boolean includeDetails)
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)
protected final CompositeHealth getCompositeHealth(ApiVersion apiVersion, Map<String,HealthComponent> components, StatusAggregator statusAggregator, boolean showComponents, Set<String> groupNames)