Package org.apache.accumulo.fate.util
Interface Retry.NeedsRetries
-
- Enclosing class:
- Retry
public static interface Retry.NeedsRetries
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Retry.NeedsRetryDelay
infiniteRetries()
Retry.NeedsRetryDelay
maxRetries(long max)
-
-
-
Method Detail
-
infiniteRetries
Retry.NeedsRetryDelay infiniteRetries()
- Returns:
- this builder with the maximum number of retries set to unlimited
-
maxRetries
Retry.NeedsRetryDelay maxRetries(long max)
- Parameters:
max
- the maximum number of retries to set- Returns:
- this builder with the maximum number of retries set to the provided value
-
-