示例#1
0
 public AsyncQuery
 (
     AsyncMultiExecutor parent,
     AsyncCluster cluster,
     AsyncNode node,
     QueryPolicy policy,
     RecordSequenceListener listener,
     Statement statement
 ) : base(parent, cluster, policy, node, policy.socketTimeout, policy.totalTimeout)
 {
     this.listener  = listener;
     this.statement = statement;
 }
        public AsyncQuery(
			AsyncMultiExecutor parent,
			AsyncCluster cluster,
			AsyncNode node,
			QueryPolicy policy,
			RecordSequenceListener listener,
			Statement statement
		)
            : base(parent, cluster, node, true)
        {
            this.policy = policy;
            this.listener = listener;
            this.statement = statement;
        }
 public AsyncQuery
 (
     AsyncMultiExecutor parent,
     AsyncCluster cluster,
     AsyncNode node,
     QueryPolicy queryPolicy,
     RecordSequenceListener listener,
     Statement statement
 ) : base(parent, cluster, queryPolicy, node, true)
 {
     this.queryPolicy = queryPolicy;
     this.listener    = listener;
     this.statement   = statement;
 }
示例#4
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;
 }
示例#5
0
 public AsyncBatchExistsSequence
 (
     AsyncMultiExecutor parent,
     AsyncCluster cluster,
     AsyncNode node,
     BatchNode.BatchNamespace batchNamespace,
     Policy policy,
     Key[] keys,
     ExistsSequenceListener listener
 ) : base(parent, cluster, node, false)
 {
     this.batchNamespace = batchNamespace;
     this.policy         = policy;
     this.keys           = keys;
     this.listener       = listener;
 }
示例#6
0
 public AsyncScan
 (
     AsyncMultiExecutor parent,
     AsyncCluster cluster,
     AsyncNode node,
     ScanPolicy policy,
     RecordSequenceListener listener,
     string ns,
     string setName,
     string[] binNames,
     long taskId
 ) : base(parent, cluster, node, true)
 {
     this.policy       = policy;
     this.listener     = listener;
     this.ns           = ns;
     this.setName      = setName;
     this.binNamesScan = binNames;
     this.taskId       = taskId;
 }
 public AsyncScan
 (
     AsyncMultiExecutor parent,
     AsyncCluster cluster,
     AsyncNode node,
     ScanPolicy scanPolicy,
     RecordSequenceListener listener,
     string ns,
     string setName,
     string[] binNames,
     ulong taskId
 ) : base(parent, cluster, scanPolicy, node, scanPolicy.socketTimeout, scanPolicy.totalTimeout)
 {
     this.scanPolicy   = scanPolicy;
     this.listener     = listener;
     this.ns           = ns;
     this.setName      = setName;
     this.binNamesScan = binNames;
     this.taskId       = taskId;
 }
        public AsyncScan(
			AsyncMultiExecutor parent,
			AsyncCluster cluster,
			AsyncNode node,
			ScanPolicy policy,
			RecordSequenceListener listener,
			string ns,
			string setName,
			string[] binNames,
			ulong taskId
		)
            : base(parent, cluster, node, true)
        {
            this.policy = policy;
            this.listener = listener;
            this.ns = ns;
            this.setName = setName;
            this.binNamesScan = binNames;
            this.taskId = taskId;
        }
 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;
 }