Sdílet prostřednictvím


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