| Package | Description |
|---|---|
| org.jacpfx.vertx.event.eventbus.blocking | |
| org.jacpfx.vertx.event.response | |
| org.jacpfx.vertx.event.response.blocking | |
| org.jacpfx.vertx.event.util |
| Modifier and Type | Method and Description |
|---|---|
ExecuteEventbusByteResponse |
EventbusBridgeBlockingResponse.mapToByteResponse(ThrowableFunction<io.vertx.core.AsyncResult<io.vertx.core.eventbus.Message<Object>>,byte[]> byteFunction)
Maps the event-bus response to a byte response for the REST request
|
| Modifier and Type | Method and Description |
|---|---|
ExecuteEventbusByteResponse |
EventbusResponseBlocking.byteResponse(ThrowableSupplier<byte[]> byteSupplier)
Retunrs a byte array to the target type
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExecuteEventbusByteCircuitBreaker
Created by Andy Moncsek on 12.01.16.
|
| Modifier and Type | Method and Description |
|---|---|
ExecuteEventbusByteResponse |
ExecuteEventbusByteCircuitBreaker.closeCircuitBreaker(long circuitBreakerTimeout)
Defines how long a method can be executed before aborted.
|
ExecuteEventbusByteResponse |
ExecuteEventbusByteResponse.delay(long delay)
Defines the delay (in ms) between the createResponse retries.
|
ExecuteEventbusByteResponse |
ExecuteEventbusByteResponse.onError(java.util.function.Consumer<Throwable> errorHandler)
Will be executed on each error
|
ExecuteEventbusByteResponse |
ExecuteEventbusByteResponse.timeout(long timeout)
Defines how long a method can be executed before aborted.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecuteEventbusByteResponse |
EventbusByteExecutionBlockingUtil.mapToByteResponse(String _methodId,
String _targetId,
Object _message,
ThrowableFunction<io.vertx.core.AsyncResult<io.vertx.core.eventbus.Message<Object>>,byte[]> _byteFunction,
io.vertx.core.eventbus.DeliveryOptions _requestDeliveryOptions,
io.vertx.core.Vertx _vertx,
Throwable _failure,
java.util.function.Consumer<Throwable> _errorMethodHandler,
io.vertx.core.eventbus.Message<Object> _requestMessage,
ThrowableSupplier<byte[]> _byteSupplier,
java.util.function.Consumer<Throwable> _errorHandler,
ThrowableFunction<Throwable,byte[]> _onFailureRespond,
io.vertx.core.eventbus.DeliveryOptions _responseDeliveryOptions,
int _retryCount,
long _timeout,
long _delay,
long _circuitBreakerTimeout)
create execution chain for event-bus request and reply to the event
|
Copyright © 2017. All rights reserved.