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 Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(Server.LvmReport.PhysicalVolume other)
      Sorts ascending. By:
      1. pvName
      Specified by:
      compareTo in interface Comparable<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()