ChangeFeedProcessorBuilder WithLeaseAcquireNotification(ChangeFeedMonitorLeaseAcquireDelegate acquireDelegate)
        {
            if (acquireDelegate == null)
            {
                throw new ArgumentNullException(nameof(acquireDelegate));
            }

            this.changeFeedProcessorOptions.HealthMonitor.SetLeaseAcquireDelegate(acquireDelegate);
            return(this);
        }
예제 #2
0
 public void SetLeaseAcquireDelegate(ChangeFeedMonitorLeaseAcquireDelegate delegateCallback)
 {
     this.acquireDelegate = delegateCallback;
 }