Package com.aerospike.client.command

Examples of com.aerospike.client.command.TouchCommand.execute()


   * @param key          unique record identifier
   * @throws AerospikeException  if touch fails
   */
  public final void touch(WritePolicy policy, Key key) throws AerospikeException {
    TouchCommand command = new TouchCommand(cluster, policy, key);
    command.execute();
  }

  //-------------------------------------------------------
  // Existence-Check Operations
  //-------------------------------------------------------
View Full Code Here


   * @param key          unique record identifier
   * @throws AerospikeException  if touch fails
   */
  public final void touch(WritePolicy policy, Key key) throws AerospikeException {
    TouchCommand command = new TouchCommand(cluster, policy, key);
    command.execute();
  }

  //-------------------------------------------------------
  // Existence-Check Operations
  //-------------------------------------------------------
View Full Code Here

   * @param key          unique record identifier
   * @throws AerospikeException  if touch fails
   */
  public final void touch(WritePolicy policy, Key key) throws AerospikeException {
    TouchCommand command = new TouchCommand(cluster, policy, key);
    command.execute();
  }

  //-------------------------------------------------------
  // Existence-Check Operations
  //-------------------------------------------------------
View Full Code Here

  public final void touch(WritePolicy policy, Key key) throws AerospikeException {
    if (policy == null) {
      policy = writePolicyDefault;
    }
    TouchCommand command = new TouchCommand(cluster, policy, key);
    command.execute();
  }

  //-------------------------------------------------------
  // Existence-Check Operations
  //-------------------------------------------------------
View Full Code Here

  public final void touch(WritePolicy policy, Key key) throws AerospikeException {
    if (policy == null) {
      policy = writePolicyDefault;
    }
    TouchCommand command = new TouchCommand(cluster, policy, key);
    command.execute();
  }

  //-------------------------------------------------------
  // Existence-Check Operations
  //-------------------------------------------------------
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.