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
AnOperationInvoker
that performs the invocation of a blocking operation on a separate thread using Reactor'selastic scheduler
.
Constructor Summary
Constructors Constructor Description ElasticSchedulerInvoker(OperationInvoker invoker)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
invoke(InvocationContext context)
Invoke the underlying operation using the givencontext
.
Constructor Detail
ElasticSchedulerInvoker
public ElasticSchedulerInvoker(OperationInvoker invoker)
Method Detail
invoke
public Object invoke(InvocationContext context)
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