| 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 |
|---|---|
ExecuteEventbusObjectResponse |
EventbusBridgeBlockingResponse.mapToObjectResponse(ThrowableFunction<io.vertx.core.AsyncResult<io.vertx.core.eventbus.Message<Object>>,Serializable> objectFunction,
Encoder encoder)
Maps the event-bus response to a byte response for the REST request
|
| Modifier and Type | Method and Description |
|---|---|
ExecuteEventbusObjectResponse |
EventbusResponseBlocking.objectResponse(ThrowableSupplier<Serializable> objectSupplier,
Encoder encoder)
Retunrs a Serializable to the target type
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExecuteEventbusObjectCircuitBreaker
Created by Andy Moncsek on 12.01.16.
|
| Modifier and Type | Method and Description |
|---|---|
ExecuteEventbusObjectResponse |
ExecuteEventbusObjectCircuitBreaker.closeCircuitBreaker(long circuitBreakerTimeout)
Defines how long a method can be executed before aborted.
|
ExecuteEventbusObjectResponse |
ExecuteEventbusObjectResponse.delay(long delay)
Defines the delay (in ms) between the createResponse retries (on error).
|
ExecuteEventbusObjectResponse |
ExecuteEventbusObjectResponse.onError(java.util.function.Consumer<Throwable> errorHandler)
Will be executed on each error
|
ExecuteEventbusObjectResponse |
ExecuteEventbusObjectResponse.timeout(long timeout)
Defines how long a method can be executed before aborted.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecuteEventbusObjectResponse |
EventbusObjectExecutionBlockingUtil.mapToObjectResponse(String _methodId,
String _targetId,
Object _message,
ThrowableFunction<io.vertx.core.AsyncResult<io.vertx.core.eventbus.Message<Object>>,Serializable> _objectFunction,
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<Serializable> _objectSupplier,
Encoder _encoder,
java.util.function.Consumer<Throwable> _errorHandler,
ThrowableFunction<Throwable,Serializable> _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.