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 Details

    • ElasticSchedulerInvoker

      public ElasticSchedulerInvoker(OperationInvoker invoker)
  • Method Details

    • invoke

      public Object invoke(InvocationContext context)
      Description copied from interface: OperationInvoker
      Invoke the underlying operation using the given context.
      Specified by:
      invoke in interface OperationInvoker
      Parameters:
      context - the context to use to invoke the operation
      Returns:
      the result of the operation, may be null