You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Core: refactor RetryPolicy into RetryPolicyBase + final RetryPolicy (#7196)
Introduces an abstract RetryPolicyBase that holds the retry loop and protected ShouldRetryOnResponse/ShouldRetryOnTransportFailure hook points without a Clone() implementation. Service SDKs (e.g. Storage) can derive from RetryPolicyBase to customize retry behavior and must provide their own Clone(), which prevents object slicing. RetryPolicy remains a final concrete policy for existing users.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: sdk/core/azure-core/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
5
5
### Features Added
6
6
7
+
-[[#7196]](https://github.com/Azure/azure-sdk-for-cpp/pull/7196) Added `Azure::Core::Http::Policies::_internal::RetryPolicyBase`, an abstract base class that exposes the retry loop and the protected `ShouldRetryOnResponse`/`ShouldRetryOnTransportFailure` hook points. Service SDKs can derive from `RetryPolicyBase` to customize retry behavior; `RetryPolicy` remains a `final` concrete policy.
0 commit comments