Package org.apache.accumulo.fate.util
Interface Retry.NeedsMaxWait
-
- Enclosing class:
- Retry
public static interface Retry.NeedsMaxWait
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Retry.NeedsBackOffFactor
maxWait(long duration, TimeUnit unit)
-
-
-
Method Detail
-
maxWait
Retry.NeedsBackOffFactor maxWait(long duration, TimeUnit unit)
- Parameters:
duration
- the maximum amount of time to which the waiting period between retries can be incremented; input is converted to milliseconds, rounded down to the nearest- Returns:
- this builder with a maximum time limit set
-
-