Share via


Container.GetChangeFeedEstimatorBuilder メソッド

定義

変更フィードの監視用に を ChangeFeedProcessorBuilder 初期化します。

public abstract Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder GetChangeFeedEstimatorBuilder (string processorName, Microsoft.Azure.Cosmos.Container.ChangesEstimationHandler estimationDelegate, TimeSpan? estimationPeriod = default);
abstract member GetChangeFeedEstimatorBuilder : string * Microsoft.Azure.Cosmos.Container.ChangesEstimationHandler * Nullable<TimeSpan> -> Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder
Public MustOverride Function GetChangeFeedEstimatorBuilder (processorName As String, estimationDelegate As Container.ChangesEstimationHandler, Optional estimationPeriod As Nullable(Of TimeSpan) = Nothing) As ChangeFeedProcessorBuilder

パラメーター

processorName
String

推定器が測定するプロセッサの名前。

estimationDelegate
Container.ChangesEstimationHandler

推定を受け取るデリゲート。

estimationPeriod
Nullable<TimeSpan>

推定を報告する時間間隔。 既定値は 5 秒です。

戻り値

のインスタンス。ChangeFeedProcessorBuilder

注釈

Estimator の目的は、特定のプロセッサの進行状況を測定することです。 そのためには、リース コンテナーなどの 他の processorName パラメーターと、測定するプロセッサのパラメーターと一致する必要があります。

適用対象