@FunctionalInterface public interface RecursiveBlockingExecutor<T>
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String methodId,
VxmsShared vxmsShared,
Throwable failure,
java.util.function.Consumer<Throwable> errorMethodHandler,
io.vertx.core.eventbus.Message<Object> requestMessage,
ThrowableSupplier<T> supplier,
Encoder encoder,
java.util.function.Consumer<Throwable> errorHandler,
ThrowableFunction<Throwable,T> onFailureRespond,
io.vertx.core.eventbus.DeliveryOptions responseDeliveryOptions,
int retryCount,
long timeout,
long delay,
long circuitBreakerTimeout)
Execute typed execution handling
|
void execute(String methodId, VxmsShared vxmsShared, Throwable failure, java.util.function.Consumer<Throwable> errorMethodHandler, io.vertx.core.eventbus.Message<Object> requestMessage, ThrowableSupplier<T> supplier, Encoder encoder, java.util.function.Consumer<Throwable> errorHandler, ThrowableFunction<Throwable,T> onFailureRespond, io.vertx.core.eventbus.DeliveryOptions responseDeliveryOptions, int retryCount, long timeout, long delay, long circuitBreakerTimeout)
methodId - the method identifiervxmsShared - the vxmsShared instance, containing the Vertx instance and other shared
objects per instancefailure - the failure thrown while task execution or messagingerrorMethodHandler - the error-method handlerrequestMessage - the message to replysupplier - the result supplierencoder - the encoder to serialize the result objecterrorHandler - the error handleronFailureRespond - the consumer that takes a Future with the alternate response value in
case of failureresponseDeliveryOptions - the delivery options for the responseretryCount - the amount of retries before failure execution is triggeredtimeout - the delay time in ms between an execution error and the retrydelay - the delay time in ms between an execution error and the retrycircuitBreakerTimeout - the amount of time before the circuit breaker closed againCopyright © 2017. All rights reserved.