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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Server.LvmReport.Segment other)Sorts ascending by: logicalVolume segStartPeServer.LvmReport.LogicalVolumegetLogicalVolume()longgetSegEndPe()Gets the last logical physical extent as determined by counting the total size of the stripes and using the following function:longgetSegStartPe()Server.LvmReport.SegmentTypegetSegtype()intgetStripeCount()List<Server.LvmReport.Stripe>getStripes()booleanoverlaps(Server.LvmReport.Segment other)StringtoString()
-
-
-
Method Detail
-
compareTo
public int compareTo(Server.LvmReport.Segment other)
Sorts ascending by:- logicalVolume
- segStartPe
- Specified by:
compareToin interfaceComparable<Server.LvmReport.Segment>
-
getLogicalVolume
public Server.LvmReport.LogicalVolume getLogicalVolume()
-
getSegtype
public Server.LvmReport.SegmentType 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
public List<Server.LvmReport.Stripe> getStripes()
-
overlaps
public boolean overlaps(Server.LvmReport.Segment other)
-
-