| 631 | : s3_retry_strategy_(s3_retry_strategy) {} |
| 632 | |
| 633 | bool ShouldRetry(const Aws::Client::AWSError<Aws::Client::CoreErrors>& error, |
| 634 | long attempted_retries) const override { // NOLINT runtime/int |
| 635 | S3RetryStrategy::AWSErrorDetail detail = ErrorToDetail(error); |
| 636 | return s3_retry_strategy_->ShouldRetry(detail, |
| 637 | static_cast<int64_t>(attempted_retries)); |
| 638 | } |
| 639 | |
| 640 | long CalculateDelayBeforeNextRetry( // NOLINT runtime/int |
| 641 | const Aws::Client::AWSError<Aws::Client::CoreErrors>& error, |
nothing calls this directly
no test coverage detected