Package com.ceph.crush

Examples of com.ceph.crush.Bucket


    rlock.lock();
    try {
      String[] parts = native_ceph_get_osd_crush_location(instance_ptr, osd);
      Bucket[] path = new Bucket[parts.length / 2];
      for (int i = 0; i < path.length; i++)
        path[i] = new Bucket(parts[i*2], parts[i*2+1]);
      return path;
    } finally {
      rlock.unlock();
    }
  }
View Full Code Here

TOP

Related Classes of com.ceph.crush.Bucket

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.