public AsyncDelete(AsyncCluster cluster, WritePolicy policy, Key key, DeleteListener listener) : base(cluster) { this.policy = policy; this.listener = listener; this.key = key; this.partition = new Partition(key); }
public AsyncExists(AsyncCluster cluster, Policy policy, Key key, ExistsListener listener) : base(cluster) { this.policy = policy; this.listener = listener; this.key = key; this.partition = new Partition(key); }
public AsyncWrite(AsyncCluster cluster, WritePolicy policy, WriteListener listener, Key key, Bin[] bins, Operation.Type operation) : base(cluster) { this.policy = policy; this.listener = listener; this.key = key; this.partition = new Partition(key); this.bins = bins; this.operation = operation; }
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; }
public AsyncBatchExistsSequenceExecutor(AsyncCluster cluster, BatchPolicy policy, Key[] keys, ExistsSequenceListener listener) : base(cluster, policy, keys) { this.listener = listener; // Dispatch asynchronous commands to nodes. foreach (BatchNode batchNode in batchNodes) { foreach (BatchNode.BatchNamespace batchNamespace in batchNode.batchNamespaces) { AsyncBatchExistsSequence async = new AsyncBatchExistsSequence(this, cluster, (AsyncNode)batchNode.node, batchNamespace, policy, keys, listener); async.Execute(); } } }
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 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; }
public AsyncWrite ( AsyncCluster cluster, WritePolicy writePolicy, WriteListener listener, Key key, Bin[] bins, Operation.Type operation ) : base(cluster, writePolicy, false) { this.writePolicy = writePolicy; this.listener = listener; this.key = key; this.partition = Partition.Write(cluster, policy, key); this.bins = bins; this.operation = operation; }
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; }
public AsyncExists(AsyncCluster cluster, Policy policy, Key key, ExistsListener listener) : base(cluster, policy, new Partition(key), true) { this.listener = listener; this.key = key; }
public AsyncSingleCommand(AsyncCluster cluster, Policy policy) : base(cluster, policy) { }