/// <inheritdoc />
        protected override async Task CompleteAsync(string queryId, bool isLastThreadForThisTask)
        {
            var list = this.documentDictionary.RemoveAll();

            await this.SendToOutputQueue(list);

            await SequenceBarrier.CompleteQuery(queryId);

            this.MyLogger.Verbose("Finished");
        }
Ejemplo n.º 2
0
        protected override void Complete(string queryId, bool isLastThreadForThisTask)
        {
            var list = _documentDictionary.RemoveAll();

            SendToOutputQueue(list);

            SequenceBarrier.CompleteQuery(queryId);

            MyLogger.Trace("Finished");
        }
 protected override void Complete(string queryId, bool isLastThreadForThisTask)
 {
     SequenceBarrier.CompleteQuery(queryId);
 }
Ejemplo n.º 4
0
 /// <inheritdoc />
 protected override async Task CompleteAsync(string queryId, bool isLastThreadForThisTask)
 {
     await SequenceBarrier.CompleteQuery(queryId);
 }