AWS SDK for C++
0.14.3
AWS SDK for C++
|
#include <DefaultRetryStrategy.h>
Public Member Functions | |
DefaultRetryStrategy (long maxRetries=10, long scaleFactor=25) | |
bool | ShouldRetry (const AWSError< CoreErrors > &error, long attemptedRetries) const |
long | CalculateDelayBeforeNextRetry (const AWSError< CoreErrors > &error, long attemptedRetries) const |
Public Member Functions inherited from Aws::Client::RetryStrategy | |
virtual | ~RetryStrategy () |
Definition at line 26 of file DefaultRetryStrategy.h.
|
inline |
Definition at line 30 of file DefaultRetryStrategy.h.
|
virtual |
Calculates the time in milliseconds the client should sleep before attemptinig another request based on the error and attemptedRetries count.
Implements Aws::Client::RetryStrategy.
|
virtual |
Returns true if the error can be retried given the error and the number of times already tried.
Implements Aws::Client::RetryStrategy.