Class Server.LvmReport.PhysicalVolume
- java.lang.Object
-
- com.aoindustries.aoserv.client.linux.Server.LvmReport.PhysicalVolume
-
- All Implemented Interfaces:
Comparable<Server.LvmReport.PhysicalVolume>
- Enclosing class:
- Server.LvmReport
public static class Server.LvmReport.PhysicalVolume extends Object implements Comparable<Server.LvmReport.PhysicalVolume>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Server.LvmReport.PhysicalVolume other)Sorts ascending by: pvNameStringgetPvName()longgetPvPeAllocCount()The number of extents allocated, this is 0 when not allocated.longgetPvPeCount()The total number of extents, this is 0 when not allocated.longgetPvSize()The size of the physical volume in bytes.Server.LvmReport.VolumeGroupgetVolumeGroup()StringtoString()
-
-
-
Method Detail
-
compareTo
public int compareTo(Server.LvmReport.PhysicalVolume other)
Sorts ascending by:- pvName
- Specified by:
compareToin interfaceComparable<Server.LvmReport.PhysicalVolume>
-
getPvName
public String getPvName()
-
getPvPeAllocCount
public long getPvPeAllocCount()
The number of extents allocated, this is 0 when not allocated.
-
getPvPeCount
public long getPvPeCount()
The total number of extents, this is 0 when not allocated.
-
getPvSize
public long getPvSize()
The size of the physical volume in bytes. This is always available, even when not allocated.
-
getVolumeGroup
public Server.LvmReport.VolumeGroup getVolumeGroup()
-
-