Examples of ScanPolicy


Examples of com.aerospike.client.policy.ScanPolicy

  //=================================================================
  // Private Nested Interfaces & Classes
  //
 
  private static ScanPolicy getScanPolicy(ClOptions opts, ClScanningOptions scanOpts, boolean noBinData) {
    ScanPolicy policy = new ScanPolicy();
   
    if (opts != null) {
      policy.timeout = opts.mTimeout;
      policy.maxRetries = 0;
    }
View Full Code Here

Examples of com.aerospike.client.policy.ScanPolicy

   * @throws AerospikeException  if queue is full
   */
  public final void scanAll(ScanPolicy policy, RecordSequenceListener listener, String namespace, String setName, String... binNames)
    throws AerospikeException {
    if (policy == null) {
      policy = new ScanPolicy();
    }
   
    // Retry policy must be one-shot for scans.
    policy.maxRetries = 0;
    new AsyncScanExecutor(cluster, policy, listener, namespace, setName, binNames);
View Full Code Here

Examples of com.aerospike.client.policy.ScanPolicy

   * @throws AerospikeException  if scan fails
   */
  public final void scanAll(ScanPolicy policy, String namespace, String setName, ScanCallback callback, String... binNames)
    throws AerospikeException
    if (policy == null) {
      policy = new ScanPolicy();
    }
   
    // Retry policy must be one-shot for scans.
    policy.maxRetries = 0;
   
View Full Code Here

Examples of com.aerospike.client.policy.ScanPolicy

   * @throws AerospikeException  if transaction fails
   */
  public final void scanNode(ScanPolicy policy, Node node, String namespace, String setName, ScanCallback callback, String... binNames)
    throws AerospikeException {
    if (policy == null) {
      policy = new ScanPolicy();
    }
    // Retry policy must be one-shot for scans.
    policy.maxRetries = 0;

    ScanCommand command = new ScanCommand(node, callback);
View Full Code Here

Examples of com.aerospike.client.policy.ScanPolicy

   * @throws AerospikeException  if queue is full
   */
  public final void scanAll(ScanPolicy policy, RecordSequenceListener listener, String namespace, String setName, String... binNames)
    throws AerospikeException {
    if (policy == null) {
      policy = new ScanPolicy();
    }
   
    // Retry policy must be one-shot for scans.
    policy.maxRetries = 0;
    new AsyncScanExecutor(cluster, policy, listener, namespace, setName, binNames);
View Full Code Here

Examples of com.aerospike.client.policy.ScanPolicy

   * @throws AerospikeException  if scan fails
   */
  public final void scanAll(ScanPolicy policy, String namespace, String setName, ScanCallback callback, String... binNames)
    throws AerospikeException
    if (policy == null) {
      policy = new ScanPolicy();
    }
    // Retry policy must be one-shot for scans.
    policy.maxRetries = 0;
   
    Node[] nodes = cluster.getNodes();   
View Full Code Here

Examples of com.aerospike.client.policy.ScanPolicy

   * @throws AerospikeException  if transaction fails
   */
  public final void scanNode(ScanPolicy policy, Node node, String namespace, String setName, ScanCallback callback, String... binNames)
    throws AerospikeException {
    if (policy == null) {
      policy = new ScanPolicy();
    }
    // Retry policy must be one-shot for scans.
    policy.maxRetries = 0;

    ScanCommand command = new ScanCommand(node, policy, namespace, setName, callback, binNames);
View Full Code Here

Examples of com.aerospike.client.policy.ScanPolicy

   * @throws AerospikeException  if scan fails
   */
  public final void scanAll(ScanPolicy policy, String namespace, String setName, ScanCallback callback, String... binNames)
    throws AerospikeException
    if (policy == null) {
      policy = new ScanPolicy();
    }
    // Retry policy must be one-shot for scans.
    policy.maxRetries = 0;
   
    Node[] nodes = cluster.getNodes();   
View Full Code Here

Examples of com.aerospike.client.policy.ScanPolicy

   * @throws AerospikeException  if transaction fails
   */
  public final void scanNode(ScanPolicy policy, Node node, String namespace, String setName, ScanCallback callback, String... binNames)
    throws AerospikeException {
    if (policy == null) {
      policy = new ScanPolicy();
    }
    // Retry policy must be one-shot for scans.
    policy.maxRetries = 0;

    ScanCommand command = new ScanCommand(node, policy, namespace, setName, callback, binNames);
View Full Code Here

Examples of com.aerospike.client.policy.ScanPolicy

   * @throws AerospikeException  if queue is full
   */
  public final void scanAll(ScanPolicy policy, RecordSequenceListener listener, String namespace, String setName, String... binNames)
    throws AerospikeException {
    if (policy == null) {
      policy = new ScanPolicy();
    }
   
    // Retry policy must be one-shot for scans.
    policy.maxRetries = 0;
    new AsyncScanExecutor(cluster, policy, listener, namespace, setName, binNames);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.