All Implemented Interfaces:
Serializable, Comparable<Dom0Disk>

public class Dom0Disk extends Object implements Comparable<Dom0Disk>, Serializable
A physical disk that is used for LVM. It is split into partitions, each of which is a physical volume.
AO Industries, Inc.
See Also:
  • Method Details

    • getClusterName

      public String getClusterName()
    • getDom0Hostname

      public String getDom0Hostname()
    • getDevice

      public String getDevice()
      Gets the per-Dom0 unique device name.
    • getDiskSpeed

      public int getDiskSpeed()
    • getPhysicalVolumes

      public Map<Short,PhysicalVolume> getPhysicalVolumes()
      Gets the unmodifiable set of physical volumes for this disk.
    • getPhysicalVolume

      public PhysicalVolume getPhysicalVolume(short partition)
      Gets the physical volume for the specified partition number of null if not found.
    • toString

      public String toString()
      toString in class Object
    • compareTo

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