public interface Waitable<T,P>
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_BACKOFF_MULTIPLIER
Deprecated.
no longer used
|
static long |
DEFAULT_INITIAL_BACKOFF_MILLIS
Deprecated.
no longer used
|
Modifier and Type | Method and Description |
---|---|
T |
waitUntilCondition(Predicate<P> condition,
long amount,
TimeUnit timeUnit) |
T |
waitUntilReady(long amount,
TimeUnit timeUnit) |
Waitable<T,P> |
withWaitRetryBackoff(long initialBackoff,
TimeUnit backoffUnit,
double backoffMultiplier)
Deprecated.
no longer used
|
@Deprecated static final long DEFAULT_INITIAL_BACKOFF_MILLIS
@Deprecated static final double DEFAULT_BACKOFF_MULTIPLIER
@Deprecated Waitable<T,P> withWaitRetryBackoff(long initialBackoff, TimeUnit backoffUnit, double backoffMultiplier)
initialBackoff
- the value for the initial backoff on first errorbackoffUnit
- the TimeUnit for the initial backoff valuebackoffMultiplier
- what to multiply the backoff by on each subsequent errorCopyright © 2015–2020 Red Hat. All rights reserved.