public interface RetryStrategy
| 限定符和类型 | 方法和说明 |
|---|---|
RetryStrategy |
clone()
Returns a RetryStrategy object of the same type that has not been retried.
|
int |
getRetries()
Returns the number of retries for the current operation
|
long |
nextPause(String action,
Exception ex)
Get the delay time before the retries-th retry is initiated.
|
RetryStrategy clone()
int getRetries()
long nextPause(String action, Exception ex)
action - Operation name, such as "ListTable", "GetRow", "PutRow", etc.ex - Error information from the last failed attempt, either a ClientException or a TableStoreExceptionCopyright © 2025. All Rights Reserved.