Package com.aerospike.client.policy

Examples of com.aerospike.client.policy.BatchPolicy


    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


   * @return            array key/existence status pairs
   * @throws AerospikeException  if command fails
   */
  @Deprecated
  public final boolean[] exists(Policy policy, Key[] keys) throws AerospikeException {
    BatchPolicy batchPolicy = (policy == null)? batchPolicyDefault : new BatchPolicy(policy);
    return exists(batchPolicy, keys);
  }
View Full Code Here

   * @return            array of records
   * @throws AerospikeException  if read fails
   */
  @Deprecated
  public final Record[] get(Policy policy, Key[] keys) throws AerospikeException {
    BatchPolicy batchPolicy = (policy == null)? batchPolicyDefault : new BatchPolicy(policy);
    return get(batchPolicy, keys);
  }
View Full Code Here

   * @throws AerospikeException  if read fails
   */
  @Deprecated
  public final Record[] get(Policy policy, Key[] keys, String... binNames)
    throws AerospikeException {
    BatchPolicy batchPolicy = (policy == null)? batchPolicyDefault : new BatchPolicy(policy);
    return get(batchPolicy, keys, binNames);
  }
View Full Code Here

   * @return            array of records
   * @throws AerospikeException  if read fails
   */
  @Deprecated
  public final Record[] getHeader(Policy policy, Key[] keys) throws AerospikeException {
    BatchPolicy batchPolicy = (policy == null)? batchPolicyDefault : new BatchPolicy(policy);
    return getHeader(batchPolicy, keys);
  }
View Full Code Here

TOP

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

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.