Package com.ceph.fs
Class CephFileExtent
- java.lang.Object
-
- com.ceph.fs.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.
-
-
-
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 classjava.lang.Object
-
-