Modifier and Type | Method | Description |
---|---|---|
default WaitResultBuilder5<T> |
WaitResultBuilder4.asFastAsPossible() |
Repeat as fast as possible.
|
default WaitResultBuilder5<T> |
WaitResultBuilder4.every(int value,
TimeUnit unit) |
Specify the amount of time between retry.
|
default WaitResultBuilder5<T> |
WaitResultBuilder4.every(Duration delay) |
Specify the amount of time between retry.
|
default WaitResultBuilder5<T> |
WaitResultBuilder4.everyMinute() |
Specify to retry every minute.
|
WaitResultBuilder5<T> |
WaitResultBuilder4.everyMs(long value) |
Specify the amount of time between retry.
|
default WaitResultBuilder5<T> |
WaitResultBuilder4.everySecond() |
Specify to retry every second.
|
default WaitResultBuilder5<T> |
WaitResultBuilder5.filter(Predicate<T> filter) |
Add a filter predicate, on the result, if applicable.
|
default <U> WaitResultBuilder5<U> |
WaitResultBuilder5.flatMap(Function<T,Optional<U>> mapper) |
Add a flat mapper fonction, on the result, if applicable.
|
default <U> WaitResultBuilder5<U> |
WaitResultBuilder5.map(Function<T,U> mapper) |
Add a mapper fonction, on the result, if applicable.
|
default WaitResultBuilder5<T> |
WaitResultBuilder5.onFinish(Runnable action) |
Register an action to be done when the retrieval is finish (in success or
not).
|
default WaitResultBuilder5<T> |
WaitResultBuilder5.or(Supplier<? extends Optional<? extends T>> supplier) |
Add a or operation, on the result, if applicable.
|
WaitResultBuilder5<T> |
WaitResultBuilder3.repeat(RetryPolicy retry) |
Specify a retry clause.
|
default WaitResultBuilder5<T> |
WaitResultBuilder3.repeatOnlyOnce() |
Specify that only one retry will be done (so only one execution and one
validation).
|
Copyright © 2021. All rights reserved.