Examples of ReadHeaderCommand


Examples of com.aerospike.client.command.ReadHeaderCommand

   * @param key          unique record identifier
   * @return            if found, return record instance.  If not found, return null.
   * @throws AerospikeException  if read fails
   */
  public final Record getHeader(Policy policy, Key key) throws AerospikeException {
    ReadHeaderCommand command = new ReadHeaderCommand(cluster, policy, key);
    command.execute();
    return command.getRecord();
  }
View Full Code Here

Examples of com.aerospike.client.command.ReadHeaderCommand

   * @param key          unique record identifier
   * @return            if found, return record instance.  If not found, return null.
   * @throws AerospikeException  if read fails
   */
  public final Record getHeader(Policy policy, Key key) throws AerospikeException {
    ReadHeaderCommand command = new ReadHeaderCommand(cluster, policy, key);
    command.execute();
    return command.getRecord();
  }
View Full Code Here

Examples of com.aerospike.client.command.ReadHeaderCommand

   * @param key          unique record identifier
   * @return            if found, return record instance.  If not found, return null.
   * @throws AerospikeException  if read fails
   */
  public final Record getHeader(Policy policy, Key key) throws AerospikeException {
    ReadHeaderCommand command = new ReadHeaderCommand(cluster, policy, key);
    command.execute();
    return command.getRecord();
  }
View Full Code Here

Examples of com.aerospike.client.command.ReadHeaderCommand

   */
  public final Record getHeader(Policy policy, Key key) throws AerospikeException {
    if (policy == null) {
      policy = readPolicyDefault;
    }
    ReadHeaderCommand command = new ReadHeaderCommand(cluster, policy, key);
    command.execute();
    return command.getRecord();
  }
View Full Code Here

Examples of com.aerospike.client.command.ReadHeaderCommand

   */
  public final Record getHeader(Policy policy, Key key) throws AerospikeException {
    if (policy == null) {
      policy = readPolicyDefault;
    }
    ReadHeaderCommand command = new ReadHeaderCommand(cluster, policy, key);
    command.execute();
    return command.getRecord();
  }
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.