public class StaticRetryPolicy extends AbfsRetryPolicy
| Constructor and Description |
|---|
StaticRetryPolicy(AbfsConfiguration conf)
Initializes a new instance of the
StaticRetryPolicy class. |
| Modifier and Type | Method and Description |
|---|---|
long |
getRetryInterval(int retryCount)
Returns a constant backoff interval independent of retry count;
|
getAbbreviation, getMaxRetryCount, shouldRetry, toStringpublic StaticRetryPolicy(AbfsConfiguration conf)
StaticRetryPolicy class.conf - The AbfsConfiguration from which to retrieve retry configuration.public long getRetryInterval(int retryCount)
getRetryInterval in class AbfsRetryPolicyretryCount - The current retry attempt count.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.