T - The type of result of the CompletableFutureWaitResultBuilder<T>WaitResultImplpublic interface WaitResultBuilder3<T>
CompletableFuture to specify the maximal
number of retry.| Modifier and Type | Method | Description |
|---|---|---|
WaitResultBuilder4<T> |
repeat(int count) |
Specify the maximal number of retry.
|
default WaitResultBuilder5<T> |
repeatOnlyOnce() |
Specify that only one retry will be done (so only one execution and one
validation).
|
WaitResultBuilder4<T> repeat(int count)
count - the number of retrythe next step of the builderdefault WaitResultBuilder5<T> repeatOnlyOnce()
the final step of the builderCopyright © 2019. All rights reserved.