Class Server.LvmReport.Segment
java.lang.Object
com.aoindustries.aoserv.client.linux.Server.LvmReport.Segment
- All Implemented Interfaces:
Comparable<Server.LvmReport.Segment>
- Enclosing class:
Server.LvmReport
public static class Server.LvmReport.Segment
extends Object
implements Comparable<Server.LvmReport.Segment>
-
Method Summary
Modifier and TypeMethodDescriptionint
Sorts ascending.long
Gets the last logical physical extent.long
int
boolean
overlaps
(Server.LvmReport.Segment other) toString()
-
Method Details
-
toString
-
compareTo
Sorts ascending. By:- logicalVolume
- segStartPe
- Specified by:
compareTo
in interfaceComparable<Server.LvmReport.Segment>
-
getLogicalVolume
-
getSegtype
-
getStripeCount
public int getStripeCount() -
getSegStartPe
public long getSegStartPe() -
getSegEndPe
public long getSegEndPe()Gets the last logical physical extent. As determined by counting the total size of the stripes and using the following function:segStartPe + totalStripePE - 1
-
getStripes
-
overlaps
-