Package com.aerospike.client.policy

Examples of com.aerospike.client.policy.Policy


      this.scanPolicyDefault = policy.scanPolicyDefault;
      this.queryPolicyDefault = policy.queryPolicyDefault;
      this.batchPolicyDefault = policy.batchPolicyDefault;
    }
    else {
      this.readPolicyDefault = new Policy();
      this.writePolicyDefault = new WritePolicy();
      this.scanPolicyDefault = new ScanPolicy();
      this.queryPolicyDefault = new QueryPolicy();
      this.batchPolicyDefault = new BatchPolicy();
    }
View Full Code Here


  private final ExistsListener listener;
  private boolean exists;
 
  public AsyncExists(AsyncCluster cluster, Policy policy, ExistsListener listener, Key key) {
    super(cluster, key);
    this.policy = (policy == null) ? new Policy() : policy;
    this.listener = listener;
  }
View Full Code Here

  private final String[] binNames;
  private Record record;
 
  public AsyncRead(AsyncCluster cluster, Policy policy, RecordListener listener, Key key, String[] binNames) {
    super(cluster, key);
    this.policy = (policy == null) ? new Policy() : policy;
    this.listener = listener;
    this.binNames = binNames;
  }
View Full Code Here

  ) throws AerospikeException {
    super(cluster, keys);
    this.listener = listener;
   
    if (policy == null) {
      policy = new Policy();
    }

    // Dispatch asynchronous commands to nodes.
    for (BatchNode batchNode : batchNodes) {     
      for (BatchNamespace batchNamespace : batchNode.batchNamespaces) {
View Full Code Here

    super(cluster, keys);
    this.recordArray = new Record[keys.length];
    this.listener = listener;
   
    if (policy == null) {
      policy = new Policy();
    }

    HashMap<Key,BatchItem> keyMap = BatchItem.generateMap(keys);
   
    // Dispatch asynchronous commands to nodes.
View Full Code Here

TOP

Related Classes of com.aerospike.client.policy.Policy

Copyright © 2018 www.massapicom. 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.