Class AbstractWebFluxEndpointHandlerMapping.ElasticSchedulerInvoker
java.lang.Object
org.springframework.boot.actuate.endpoint.web.reactive.AbstractWebFluxEndpointHandlerMapping.ElasticSchedulerInvoker
- All Implemented Interfaces:
OperationInvoker
- Enclosing class:
- AbstractWebFluxEndpointHandlerMapping
protected static final class AbstractWebFluxEndpointHandlerMapping.ElasticSchedulerInvoker
extends Object
implements OperationInvoker
An
OperationInvoker
that performs the invocation of a blocking operation on
a separate thread using Reactor's bounded
elastic scheduler
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioninvoke
(InvocationContext context) Invoke the underlying operation using the givencontext
.
-
Constructor Details
-
ElasticSchedulerInvoker
-
-
Method Details
-
invoke
Description copied from interface:OperationInvoker
Invoke the underlying operation using the givencontext
.- Specified by:
invoke
in interfaceOperationInvoker
- Parameters:
context
- the context to use to invoke the operation- Returns:
- the result of the operation, may be
null
-