Package com.aerospike.client.policy

Examples of com.aerospike.client.policy.WritePolicy


public final class TouchCommand extends SingleCommand {
  private final WritePolicy policy;

  public TouchCommand(Cluster cluster, WritePolicy policy, Key key) {
    super(cluster, key);
    this.policy = (policy == null) ? new WritePolicy() : policy;
  }
View Full Code Here


public final class TouchCommand extends SingleCommand {
  private final WritePolicy policy;

  public TouchCommand(Cluster cluster, WritePolicy policy, Key key) {
    super(cluster, key);
    this.policy = (policy == null) ? new WritePolicy() : policy;
  }
View Full Code Here

  private final WritePolicy policy;
  private boolean existed;

  public DeleteCommand(Cluster cluster, WritePolicy policy, Key key) {
    super(cluster, key);
    this.policy = (policy == null) ? new WritePolicy() : policy;
  }
View Full Code Here

  private final WritePolicy policy;
  private final Operation[] operations;

  public OperateCommand(Cluster cluster, WritePolicy policy, Key key, Operation[] operations) {
    super(cluster, policy, key, null);
    this.policy = (policy == null) ? new WritePolicy() : policy;
    this.operations = operations;
  }
View Full Code Here

  private final Bin[] bins;
  private final Operation.Type operation;

  public WriteCommand(Cluster cluster, WritePolicy policy, Key key, Bin[] bins, Operation.Type operation) {
    super(cluster, key);
    this.policy = (policy == null) ? new WritePolicy() : policy;
    this.bins = bins;
    this.operation = operation;
  }
View Full Code Here

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

      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 WritePolicy policy;
  private final WriteListener listener;
   
  public AsyncTouch(AsyncCluster cluster, WritePolicy policy, WriteListener listener, Key key) {
    super(cluster, key);
    this.policy = (policy == null)? new WritePolicy() : policy;
    this.listener = listener;
  }
View Full Code Here

  private final WritePolicy policy;
  private final Operation[] operations;
 
  public AsyncOperate(AsyncCluster cluster, WritePolicy policy, RecordListener listener, Key key, Operation[] operations) {
    super(cluster, policy, listener, key, null);
    this.policy = (policy == null) ? new WritePolicy() : policy;
    this.operations = operations;
  }
View Full Code Here

  private final Bin[] bins;
  private final Operation.Type operation;
   
  public AsyncWrite(AsyncCluster cluster, WritePolicy policy, WriteListener listener, Key key, Bin[] bins, Operation.Type operation) {
    super(cluster, key);
    this.policy = (policy == null)? new WritePolicy() : policy;
    this.listener = listener;
    this.bins = bins;
    this.operation = operation;
  }
View Full Code Here

TOP

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

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.