Package com.aerospike.client.command

Examples of com.aerospike.client.command.WriteCommand


   */
  public final void add(WritePolicy policy, Key key, Bin... bins) throws AerospikeException {
    if (policy == null) {
      policy = writePolicyDefault;
    }
    WriteCommand command = new WriteCommand(cluster, policy, key, bins, Operation.Type.ADD);
    command.execute();
  }
View Full Code Here


   */
  public final void put(WritePolicy policy, Key key, Bin... bins) throws AerospikeException {
    if (policy == null) {
      policy = writePolicyDefault;
    }
    WriteCommand command = new WriteCommand(cluster, policy, key, bins, Operation.Type.WRITE);
    command.execute();
  }
View Full Code Here

   */
  public final void append(WritePolicy policy, Key key, Bin... bins) throws AerospikeException {
    if (policy == null) {
      policy = writePolicyDefault;
    }
    WriteCommand command = new WriteCommand(cluster, policy, key, bins, Operation.Type.APPEND);
    command.execute();
  }
View Full Code Here

   */
  public final void prepend(WritePolicy policy, Key key, Bin... bins) throws AerospikeException {
    if (policy == null) {
      policy = writePolicyDefault;
    }
    WriteCommand command = new WriteCommand(cluster, policy, key, bins, Operation.Type.PREPEND);
    command.execute();
  }
View Full Code Here

   */
  public final void add(WritePolicy policy, Key key, Bin... bins) throws AerospikeException {
    if (policy == null) {
      policy = writePolicyDefault;
    }
    WriteCommand command = new WriteCommand(cluster, policy, key, bins, Operation.Type.ADD);
    command.execute();
  }
View Full Code Here

TOP

Related Classes of com.aerospike.client.command.WriteCommand

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.