#include <DefaultRetryStrategy.h>
Definition at line 16 of file DefaultRetryStrategy.h.
◆ DefaultRetryStrategy()
| Aws::Client::DefaultRetryStrategy::DefaultRetryStrategy |
( |
long | maxRetries = 10, |
|
|
long | scaleFactor = 25 ) |
|
inline |
◆ CalculateDelayBeforeNextRetry()
| long Aws::Client::DefaultRetryStrategy::CalculateDelayBeforeNextRetry |
( |
const AWSError< CoreErrors > & | error, |
|
|
long | attemptedRetries ) const |
|
overridevirtual |
Calculates the time in milliseconds the client should sleep before attempting another request based on the error and attemptedRetries count.
Implements Aws::Client::RetryStrategy.
◆ GetMaxAttempts()
| virtual long Aws::Client::DefaultRetryStrategy::GetMaxAttempts |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetStrategyName()
| const char * Aws::Client::DefaultRetryStrategy::GetStrategyName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ ShouldRetry()
| bool Aws::Client::DefaultRetryStrategy::ShouldRetry |
( |
const AWSError< CoreErrors > & | error, |
|
|
long | attemptedRetries ) const |
|
overridevirtual |
◆ m_maxRetries
| long Aws::Client::DefaultRetryStrategy::m_maxRetries |
|
protected |
◆ m_scaleFactor
| long Aws::Client::DefaultRetryStrategy::m_scaleFactor |
|
protected |
The documentation for this class was generated from the following file: