Package com.aerospike.client

Examples of com.aerospike.client.Info


 
  public PartitionTokenizerOld(Connection conn) throws AerospikeException {
    // Use low-level info methods and parse byte array directly for maximum performance.
    // Send format:    replicas-write\n
    // Receive format: replicas-write\t<ns1>:<partition id1>;<ns2>:<partition id2>...\n
    Info info = new Info(conn, ReplicasName);
    this.length = info.getLength();

    if (length == 0) {
      throw new AerospikeException.Parse(ReplicasName + " is empty");
    }
    this.buffer = info.getBuffer();
    this.offset = ReplicasName.length() + 1// Skip past name and tab
    this.sb = new StringBuilder(32)// Max namespace length
  }
View Full Code Here


 
  public PartitionTokenizerNew(Connection conn) throws AerospikeException {
    // Use low-level info methods and parse byte array directly for maximum performance.
    // Send format:     replicas-master\n
    // Receive format: replicas-master\t<ns1>:<base 64 encoded bitmap>;<ns2>:<base 64 encoded bitmap>... \n
    Info info = new Info(conn, ReplicasName);
    this.length = info.getLength();

    if (length == 0) {
      throw new AerospikeException.Parse(ReplicasName + " is empty");
    }
    this.buffer = info.getBuffer();
    this.offset = ReplicasName.length() + 1// Skip past name and tab
    this.sb = new StringBuilder(32)// Max namespace length
  }
View Full Code Here

 
  public PartitionTokenizerOld(Connection conn) throws AerospikeException {
    // Use low-level info methods and parse byte array directly for maximum performance.
    // Send format:    replicas-write\n
    // Receive format: replicas-write\t<ns1>:<partition id1>;<ns2>:<partition id2>...\n
    Info info = new Info(conn, ReplicasName);
    this.length = info.getLength();

    if (length == 0) {
      throw new AerospikeException.Parse(ReplicasName + " is empty");
    }
    this.buffer = info.getBuffer();
    this.offset = ReplicasName.length() + 1// Skip past name and tab
    this.sb = new StringBuilder(32)// Max namespace length
  }
View Full Code Here

 
  public PartitionTokenizerNew(Connection conn) throws AerospikeException {
    // Use low-level info methods and parse byte array directly for maximum performance.
    // Send format:     replicas-master\n
    // Receive format: replicas-master\t<ns1>:<base 64 encoded bitmap>;<ns2>:<base 64 encoded bitmap>... \n
    Info info = new Info(conn, ReplicasName);
    this.length = info.getLength();

    if (length == 0) {
      throw new AerospikeException.Parse(ReplicasName + " is empty");
    }
    this.buffer = info.getBuffer();
    this.offset = ReplicasName.length() + 1// Skip past name and tab
    this.sb = new StringBuilder(32)// Max namespace length
  }
View Full Code Here

 
  public PartitionTokenizerOld(Connection conn) throws AerospikeException {
    // Use low-level info methods and parse byte array directly for maximum performance.
    // Send format:    replicas-write\n
    // Receive format: replicas-write\t<ns1>:<partition id1>;<ns2>:<partition id2>...\n
    Info info = new Info(conn, ReplicasName);
    this.length = info.getLength();

    if (length == 0) {
      throw new AerospikeException.Parse(ReplicasName + " is empty");
    }
    this.buffer = info.getBuffer();
    this.offset = ReplicasName.length() + 1// Skip past name and tab
    this.sb = new StringBuilder(32)// Max namespace length
  }
View Full Code Here

 
  public PartitionTokenizerNew(Connection conn) throws AerospikeException {
    // Use low-level info methods and parse byte array directly for maximum performance.
    // Send format:     replicas-master\n
    // Receive format: replicas-master\t<ns1>:<base 64 encoded bitmap>;<ns2>:<base 64 encoded bitmap>... \n
    Info info = new Info(conn, ReplicasName);
    this.length = info.getLength();

    if (length == 0) {
      throw new AerospikeException.Parse(ReplicasName + " is empty");
    }
    this.buffer = info.getBuffer();
    this.offset = ReplicasName.length() + 1// Skip past name and tab
    this.sb = new StringBuilder(32)// Max namespace length
  }
View Full Code Here

 
  public PartitionTokenizerNew(Connection conn) throws AerospikeException {
    // Use low-level info methods and parse byte array directly for maximum performance.
    // Send format:     replicas-master\n
    // Receive format: replicas-master\t<ns1>:<base 64 encoded bitmap>;<ns2>:<base 64 encoded bitmap>... \n
    Info info = new Info(conn, ReplicasName);
    this.length = info.getLength();

    if (length == 0) {
      throw new AerospikeException.Parse(ReplicasName + " is empty");
    }
    this.buffer = info.getBuffer();
    this.offset = ReplicasName.length() + 1// Skip past name and tab
    this.sb = new StringBuilder(32)// Max namespace length
  }
View Full Code Here

 
  public PartitionTokenizerOld(Connection conn) throws AerospikeException {
    // Use low-level info methods and parse byte array directly for maximum performance.
    // Send format:    replicas-write\n
    // Receive format: replicas-write\t<ns1>:<partition id1>;<ns2>:<partition id2>...\n
    Info info = new Info(conn, ReplicasName);
    this.length = info.getLength();

    if (length == 0) {
      throw new AerospikeException.Parse(ReplicasName + " is empty");
    }
    this.buffer = info.getBuffer();
    this.offset = ReplicasName.length() + 1// Skip past name and tab
    this.sb = new StringBuilder(32)// Max namespace length
  }
View Full Code Here

TOP

Related Classes of com.aerospike.client.Info

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.