| Package | Description |
|---|---|
| com.networknt.eventuate.eventhandling.exceptionhandling |
| Modifier and Type | Class and Description |
|---|---|
class |
RetryEventDeliveryExceptionHandlerState |
| Modifier and Type | Method and Description |
|---|---|
EventDeliveryExceptionHandlerState |
IgnoreEventDeliveryExceptionHandler.makeState(Throwable t) |
EventDeliveryExceptionHandlerState |
EventDeliveryExceptionHandler.makeState(Throwable t)
create the state used for handling an exception
|
EventDeliveryExceptionHandlerState |
RetryEventDeliveryExceptionHandler.makeState(Throwable t) |
EventDeliveryExceptionHandlerState |
FailEventDeliveryExceptionHandler.makeState(Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
void |
IgnoreEventDeliveryExceptionHandler.handle(EventDeliveryExceptionHandlerState state,
Throwable t,
Runnable retry,
Consumer<Throwable> fail,
Runnable ignore) |
void |
EventDeliveryExceptionHandler.handle(EventDeliveryExceptionHandlerState state,
Throwable t,
Runnable retry,
Consumer<Throwable> fail,
Runnable ignore)
handle an exception by either (asynchronously) retrying or failing
|
void |
RetryEventDeliveryExceptionHandler.handle(EventDeliveryExceptionHandlerState state,
Throwable t,
Runnable retry,
Consumer<Throwable> fail,
Runnable ignore)
Retry after the timeout unless the max retries has been exceeded or the supplied throwable is not handled
|
void |
FailEventDeliveryExceptionHandler.handle(EventDeliveryExceptionHandlerState state,
Throwable t,
Runnable retry,
Consumer<Throwable> fail,
Runnable ignore) |
| Constructor and Description |
|---|
EventDeliveryExceptionHandlerWithState(EventDeliveryExceptionHandler eventDeliveryExceptionHandler,
EventDeliveryExceptionHandlerState state) |
Copyright © 2019. All rights reserved.