Package com.ceph.fs

Class CephFileExtent


  • public class CephFileExtent
    extends java.lang.Object
    Holds information about a file extent in CephFS.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getLength()
      Get length of extent.
      long getOffset()
      Get starting offset of extent.
      int[] getOSDs()
      Get list of OSDs with this extent.
      java.lang.String toString()
      Pretty print.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getOffset

        public long getOffset()
        Get starting offset of extent.
      • getLength

        public long getLength()
        Get length of extent.
      • getOSDs

        public int[] getOSDs()
        Get list of OSDs with this extent.
      • toString

        public java.lang.String toString()
        Pretty print.
        Overrides:
        toString in class java.lang.Object