public override FeedIterator <ChangeFeedProcessorState> GetCurrentStateIterator(ChangeFeedEstimatorRequestOptions changeFeedEstimatorRequestOptions = null) { return(new ChangeFeedEstimatorIterator( this.processorName, this.monitoredContainer, this.leaseContainer, changeFeedEstimatorRequestOptions)); }
/// <summary> /// Gets the estimation per lease in the lease container. /// </summary> /// <param name="changeFeedEstimatorRequestOptions">(Optional) Customize the estimation iterator.</param> /// <returns>An iterator that yields an estimation of pending work in amount of documents per distributed lease token.</returns> public abstract FeedIterator <ChangeFeedProcessorState> GetCurrentStateIterator(ChangeFeedEstimatorRequestOptions changeFeedEstimatorRequestOptions = null);