Example #1
0
 public QueryThread(QueryExecutor parent, Node node, MultiCommand command)
 {
     this.parent  = parent;
     this.node    = node;
     this.command = command;
 }
 /// <summary>
 /// Initialize record set with underlying producer/consumer queue.
 /// </summary>
 public RecordSet(QueryExecutor executor, int capacity, CancellationToken cancelToken)
 {
     this.executor    = executor;
     this.queue       = new BlockingCollection <KeyRecord>(capacity);
     this.cancelToken = cancelToken;
 }
 /// <summary>
 /// Initialize record set with underlying producer/consumer queue.
 /// </summary>
 public RecordSet(QueryExecutor executor, int capacity, CancellationToken cancelToken)
 {
     this.executor = executor;
     this.queue = new BlockingCollection<KeyRecord>(capacity);
     this.cancelToken = cancelToken;
 }
Example #4
0
 public QueryThread(QueryExecutor parent, QueryCommand command)
 {
     this.parent  = parent;
     this.command = command;
 }
 public QueryThread(QueryExecutor parent, MultiCommand command)
 {
     this.parent = parent;
     this.command = command;
 }