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

Container.GetChangeFeedEstimator(String, Container) Method

Definition

Gets a ChangeFeedEstimator for change feed monitoring.

public abstract Microsoft.Azure.Cosmos.ChangeFeedEstimator GetChangeFeedEstimator(string processorName, Microsoft.Azure.Cosmos.Container leaseContainer);
abstract member GetChangeFeedEstimator : string * Microsoft.Azure.Cosmos.Container -> Microsoft.Azure.Cosmos.ChangeFeedEstimator
Public MustOverride Function GetChangeFeedEstimator (processorName As String, leaseContainer As Container) As ChangeFeedEstimator

Parameters

processorName
String

The name of the Processor the Estimator is going to measure.

leaseContainer
Container

Instance of a Cosmos Container that holds the leases.

Returns

An instance of ChangeFeedEstimator

Remarks

The goal of the Estimator is to measure progress of a particular processor. In order to do that, the processorName and other parameters, like the leases container, need to match that of the Processor to measure.

Applies to