Package com.aerospike.client.cluster

Examples of com.aerospike.client.cluster.Partition


  private final Cluster cluster;
  private final Partition partition;

  public SingleCommand(Cluster cluster, Key key) {
    this.cluster = cluster;
    this.partition = new Partition(key);
    this.receiveBuffer = ThreadLocalData2.getBuffer();
  }
View Full Code Here


    // Split keys by server node.
    List<BatchNode> batchNodes = new ArrayList<BatchNode>(nodeCount+1);
       
    for (int i = 0; i < keys.length; i++) {
      Key key = keys[i];
      Partition partition = new Partition(key);     
      BatchNode batchNode;
     
      Node node = cluster.getNode(partition);
      batchNode = findBatchNode(batchNodes, node);
     
View Full Code Here

  private boolean inHeader = true;
 
  public AsyncSingleCommand(AsyncCluster cluster, Key key) {
    super(cluster);
    this.key = key;
    this.partition = new Partition(key);
  }
View Full Code Here

  protected int receiveSize;
 
  public AsyncSingleCommand(AsyncCluster cluster, Key key) {
    super(cluster);
    this.key = key;
    this.partition = new Partition(key);
  }
View Full Code Here

  private final Partition partition;

  public SingleCommand(Cluster cluster, Key key) {
    this.cluster = cluster;
    this.key = key;
    this.partition = new Partition(key);
  }
View Full Code Here

    // Split keys by server node.
    List<BatchNode> batchNodes = new ArrayList<BatchNode>(nodeCount+1);
       
    for (int i = 0; i < keys.length; i++) {
      Key key = keys[i];
      Partition partition = new Partition(key);     
      BatchNode batchNode;
     
      Node node = cluster.getNode(partition);
      batchNode = findBatchNode(batchNodes, node);
     
View Full Code Here

  private final Partition partition;

  public SingleCommand(Cluster cluster, Key key) {
    this.cluster = cluster;
    this.key = key;
    this.partition = new Partition(key);
  }
View Full Code Here

    // Split keys by server node.
    List<BatchNode> batchNodes = new ArrayList<BatchNode>(nodeCount+1);
       
    for (int i = 0; i < keys.length; i++) {
      Key key = keys[i];
      Partition partition = new Partition(key);     
      BatchNode batchNode;
     
      Node node = cluster.getNode(partition);
      batchNode = findBatchNode(batchNodes, node);
     
View Full Code Here

  protected int receiveSize;
 
  public AsyncSingleCommand(AsyncCluster cluster, Key key) {
    super(cluster);
    this.key = key;
    this.partition = new Partition(key);
  }
View Full Code Here

    // Split keys by server node.
    List<BatchNode> batchNodes = new ArrayList<BatchNode>(nodeCount+1);
       
    for (int i = 0; i < keys.length; i++) {
      Key key = keys[i];
      Partition partition = new Partition(key);     
      BatchNode batchNode;
     
      Node node = cluster.getNode(partition);
      batchNode = findBatchNode(batchNodes, node);
     
View Full Code Here

TOP

Related Classes of com.aerospike.client.cluster.Partition

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.