Share via


ExponentialRetry クラス

定義

指定された回数、再試行を行う再試行ポリシーを表します。再試行間隔は、ランダム指数バックオフ法 (Randomized Exponential Back Off Scheme) を使用して決定されます。

public sealed class ExponentialRetry : Microsoft.Azure.Cosmos.Table.IExtendedRetryPolicy
type ExponentialRetry = class
    interface IExtendedRetryPolicy
    interface IRetryPolicy
Public NotInheritable Class ExponentialRetry
Implements IExtendedRetryPolicy
継承
ExponentialRetry
実装

コンストラクター

ExponentialRetry()

ExponentialRetry クラスの新しいインスタンスを初期化します。

ExponentialRetry(TimeSpan, Int32)

指定されたデルタと最大再試行回数を使用して、ExponentialRetry クラスの新しいインスタンスを初期化します。

メソッド

CreateInstance()

現在試行中の要求に対する新しい再試行ポリシーを生成します。

Evaluate(RetryContext, OperationContext)

操作を再試行するかどうかと次の再試行までの間隔を決定します。

ShouldRetry(Int32, Int32, Exception, TimeSpan, OperationContext)

操作を再試行するかどうかと次の再試行までの間隔を決定します。

適用対象