@FunctionalInterface public interface ExecuteEventbusByteCallBlocking
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String methodId,
VxmsShared vxmsShared,
java.util.function.Consumer<Throwable> errorMethodHandler,
io.vertx.core.eventbus.Message<Object> requestMessage,
java.util.function.Consumer<Throwable> errorHandler,
ThrowableFunction<Throwable,byte[]> onFailureRespond,
io.vertx.core.eventbus.DeliveryOptions responseDeliveryOptions,
int retryCount,
long timeout,
long delay,
long circuitBreakerTimeout)
Execute chain when event-bus response handler is executed
|
void execute(String methodId, VxmsShared vxmsShared, java.util.function.Consumer<Throwable> errorMethodHandler, io.vertx.core.eventbus.Message<Object> requestMessage, java.util.function.Consumer<Throwable> errorHandler, ThrowableFunction<Throwable,byte[]> 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 instanceerrorMethodHandler - the error-method handlerrequestMessage - the message to replyerrorHandler - 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.