T - The type of result of the CompletableFuturepublic interface WaitResultBuilder4<T>
CompletableFuture to specify the amount
 of time between the retry.| Modifier and Type | Method | Description | 
|---|---|---|
default WaitResultBuilder5<T> | 
asFastAsPossible() | 
 Repeat as fast as possible. 
 | 
default WaitResultBuilder5<T> | 
every(int value,
     TimeUnit unit) | 
 Specify the amount of time between retry. 
 | 
default WaitResultBuilder5<T> | 
every(Duration delay) | 
 Specify the amount of time between retry. 
 | 
default WaitResultBuilder5<T> | 
everyMinute() | 
 Specify to retry every minute. 
 | 
WaitResultBuilder5<T> | 
everyMs(long value) | 
 Specify the amount of time between retry. 
 | 
default WaitResultBuilder5<T> | 
everySecond() | 
 Specify to retry every second. 
 | 
WaitResultBuilder5<T> everyMs(long value)
value - the ms delaythe next step of the builderdefault WaitResultBuilder5<T> everyMinute()
the next step of the builderdefault WaitResultBuilder5<T> everySecond()
the next step of the builderdefault WaitResultBuilder5<T> every(int value, TimeUnit unit)
value - the amountunit - the time unitthe next step of the builderTimeUnitdefault WaitResultBuilder5<T> every(Duration delay)
delay - the duration to be usedthe next step of the builderDurationdefault WaitResultBuilder5<T> asFastAsPossible()
the next step of the builderCopyright © 2021. All rights reserved.