public static class ExceptionHandlers.RetrySendingExceptionHandler extends Object implements java.util.function.BiConsumer<Sender.SendContext,Exception>
| Constructor and Description |
|---|
RetrySendingExceptionHandler(java.time.Duration timeout,
java.time.Duration waitingTime,
java.util.function.Predicate<Throwable> predicate) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Sender.SendContext sendContext,
Exception e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic RetrySendingExceptionHandler(java.time.Duration timeout,
java.time.Duration waitingTime,
java.util.function.Predicate<Throwable> predicate)
public void accept(Sender.SendContext sendContext, Exception e)
accept in interface java.util.function.BiConsumer<Sender.SendContext,Exception>