ChangeFeedProcessorBuilder WithLeaseAcquireNotification(ChangeFeedMonitorLeaseAcquireDelegate acquireDelegate) { if (acquireDelegate == null) { throw new ArgumentNullException(nameof(acquireDelegate)); } this.changeFeedProcessorOptions.HealthMonitor.SetLeaseAcquireDelegate(acquireDelegate); return(this); }
public void SetLeaseAcquireDelegate(ChangeFeedMonitorLeaseAcquireDelegate delegateCallback) { this.acquireDelegate = delegateCallback; }