Share via


Container.GetChangeFeedEstimatorBuilder Método

Definição

Inicializa um ChangeFeedProcessorBuilder para monitoramento de feed de alterações.

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

Parâmetros

processorName
String

O nome do Processador que o Avaliador medirá.

estimationDelegate
Container.ChangesEstimationHandler

Delegar para receber estimativa.

estimationPeriod
Nullable<TimeSpan>

Intervalo de tempo no qual relatar a estimativa. O padrão é 5 segundos.

Retornos

Uma instância do ChangeFeedProcessorBuilder

Comentários

O objetivo do Avaliador é medir o progresso de um processador específico. Para fazer isso, o processorName e outros parâmetros, como o contêiner de concessões, precisam corresponder ao do Processador para medir.

Aplica-se a