| 571 | : s3_retry_strategy_(s3_retry_strategy) {} |
| 572 | |
| 573 | bool ShouldRetry(const Aws::Client::AWSError<Aws::Client::CoreErrors>& error, |
| 574 | long attempted_retries) const override { // NOLINT runtime/int |
| 575 | S3RetryStrategy::AWSErrorDetail detail = ErrorToDetail(error); |
| 576 | return s3_retry_strategy_->ShouldRetry(detail, |
| 577 | static_cast<int64_t>(attempted_retries)); |
| 578 | } |
| 579 | |
| 580 | long CalculateDelayBeforeNextRetry( // NOLINT runtime/int |
| 581 | const Aws::Client::AWSError<Aws::Client::CoreErrors>& error, |
nothing calls this directly
no test coverage detected