Ejemplo n.º 1
0
 public AsyncQueryPartition
 (
     AsyncMultiExecutor parent,
     AsyncCluster cluster,
     QueryPolicy policy,
     RecordSequenceListener listener,
     Statement statement,
     PartitionTracker tracker,
     NodePartitions nodePartitions
 ) : base(parent, cluster, policy, (AsyncNode)nodePartitions.node, tracker.socketTimeout, tracker.totalTimeout)
 {
     this.listener       = listener;
     this.statement      = statement;
     this.tracker        = tracker;
     this.nodePartitions = nodePartitions;
 }
 public AsyncScanPartition
 (
     AsyncMultiExecutor executor,
     AsyncCluster cluster,
     ScanPolicy scanPolicy,
     RecordSequenceListener listener,
     string ns,
     string setName,
     string[] binNames,
     ulong taskId,
     PartitionTracker tracker,
     NodePartitions nodePartitions
 ) : base(executor, cluster, scanPolicy, (AsyncNode)nodePartitions.node, tracker.socketTimeout, tracker.totalTimeout)
 {
     this.scanPolicy     = scanPolicy;
     this.listener       = listener;
     this.ns             = ns;
     this.setName        = setName;
     this.binNames       = binNames;
     this.taskId         = taskId;
     this.tracker        = tracker;
     this.nodePartitions = nodePartitions;
 }