java.lang.Object
com.aoindustries.aoserv.cluster.PhysicalVolume
All Implemented Interfaces:
Serializable, Comparable<PhysicalVolume>

public class PhysicalVolume extends Object implements Comparable<PhysicalVolume>, Serializable
One LVM physical volume.
Author:
AO Industries, Inc.
See Also:
  • Method Details

    • getClusterName

      public String getClusterName()
    • getDom0Hostname

      public String getDom0Hostname()
    • getDevice

      public String getDevice()
    • getPartition

      public short getPartition()
    • getExtents

      public long getExtents()
    • toString

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

      public int compareTo(PhysicalVolume other)
      Sorted ascending. By:
      1. clusterName
      2. dom0Hostname
      3. device
      4. partition
      Specified by:
      compareTo in interface Comparable<PhysicalVolume>