@FunctionalInterface public interface ExecuteEventbusObjectCall
| 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,
Encoder encoder,
java.util.function.Consumer<Throwable> errorHandler,
ThrowableErrorConsumer<Throwable,Serializable> onFailureRespond,
io.vertx.core.eventbus.DeliveryOptions responseDeliveryOptions,
int retryCount,
long timeout,
long circuitBreakerTimeout)
Execute typed execution handling
|
void execute(String methodId, VxmsShared vxmsShared, java.util.function.Consumer<Throwable> errorMethodHandler, io.vertx.core.eventbus.Message<Object> requestMessage, Encoder encoder, java.util.function.Consumer<Throwable> errorHandler, ThrowableErrorConsumer<Throwable,Serializable> onFailureRespond, io.vertx.core.eventbus.DeliveryOptions responseDeliveryOptions, int retryCount, long timeout, 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 responde toencoder - the encoder to serialize the response 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 retrycircuitBreakerTimeout - the amount of time before the circuit breaker closed againCopyright © 2017. All rights reserved.