Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

注解

估算器的目标是测量特定处理器的进度。 为此, processorName 和其他参数(如租约容器)需要匹配处理器的参数才能测量。

适用于