| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final Class | |
| private ThrowingFunction | |
| private Consumer | |
| private Duration | |
| private Function |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final Class | |
| private ThrowingFunction | |
| public T | |
| public final T | |
| public final RetryExecutor | |
| public final RetryExecutor | |
| public RetryExecutor | |
| public RetryExecutor | |
| public RetryExecutor | |
| public final RetryExecutor | |
| public RetryExecutor | |
| public RetryExecutor | |
| private void |
| attempts | back to summary |
|---|---|
| private int attempts | |
| exceptionType | back to summary |
|---|---|
| private final Class<? extends E> exceptionType | |
| executable | back to summary |
|---|---|
| private ThrowingFunction<RetryExecutor. | |
| sleepFunction | back to summary |
|---|---|
| private Consumer<Duration> sleepFunction | |
| timeout | back to summary |
|---|---|
| private Duration timeout | |
| toUnchecked | back to summary |
|---|---|
| private Function<E, RuntimeException> toUnchecked | |
| RetryExecutor | back to summary |
|---|---|
| public RetryExecutor(Class<? extends E> exceptionType) | |
| exceptionType | back to summary |
|---|---|
| public final Class | |
| executable | back to summary |
|---|---|
| private ThrowingFunction | |
| execute | back to summary |
|---|---|
| public T execute() throws RetryExecutor:E | |
| executeUnchecked | back to summary |
|---|---|
| public final T executeUnchecked() | |
| mutate | back to summary |
|---|---|
| public final RetryExecutor | |
| setAttemptTimeout | back to summary |
|---|---|
| public final RetryExecutor | |
| setAttemptTimeout | back to summary |
|---|---|
| public RetryExecutor | |
| setExceptionMapper | back to summary |
|---|---|
| public RetryExecutor | |
| setExecutable | back to summary |
|---|---|
| public RetryExecutor | |
| setExecutable | back to summary |
|---|---|
| public final RetryExecutor | |
| setMaxAttemptsCount | back to summary |
|---|---|
| public RetryExecutor | |
| setSleepFunction | back to summary |
|---|---|
| public RetryExecutor | |
| sleep | back to summary |
|---|---|
| private void sleep() | |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public T | |
| public boolean |
| attempt | back to summary |
|---|---|
| public int attempt() | |
| executor | back to summary |
|---|---|
| public T executor() | |
| isLastAttempt | back to summary |
|---|---|
| public boolean isLastAttempt() | |
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public RetryExecutor | |
| public boolean | |
| public boolean | |
| public Void |
| attempt | back to summary |
|---|---|
| private int attempt | |
| DefaultContext | back to summary |
|---|---|
| private DefaultContext() | |
| attempt | back to summary |
|---|---|
| public int attempt() Implements jdk.
| |
| executor | back to summary |
|---|---|
| public RetryExecutor Implements jdk.
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| isLastAttempt | back to summary |
|---|---|
| public boolean isLastAttempt() Implements jdk.
| |
| next | back to summary |
|---|---|
| public Void next() Implements java. Doc from java. Returns the next element in the iteration.
| |