Ejemplo n.º 1
0
 public QueryThread(QueryExecutor parent, Node node, MultiCommand command)
 {
     this.parent  = parent;
     this.node    = node;
     this.command = command;
 }
Ejemplo n.º 2
0
 /// <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;
 }
Ejemplo n.º 4
0
 public QueryThread(QueryExecutor parent, QueryCommand command)
 {
     this.parent  = parent;
     this.command = command;
 }
Ejemplo n.º 5
0
 public QueryThread(QueryExecutor parent, MultiCommand command)
 {
     this.parent = parent;
     this.command = command;
 }