All Implemented Interfaces:
Serializable, Comparable<Dom0>

public class Dom0 extends Object implements Comparable<Dom0>, Serializable
One Xen dom0 cluster member.
AO Industries, Inc.
See Also:
  • Method Details

    • getClusterName

      public String getClusterName()
    • getHostname

      public String getHostname()
    • getRam

      public int getRam()
      Gets the physical amount of RAM in megabytes.
    • getProcessorType

      public ProcessorType getProcessorType()
    • getProcessorArchitecture

      public ProcessorArchitecture getProcessorArchitecture()
    • getProcessorSpeed

      public int getProcessorSpeed()
      Gets the processor speed in megahertz.
    • getProcessorCores

      public int getProcessorCores()
      Gets the number of processor cores, hyperthreaded CPUs count as two.
    • getSupportsHvm

      public boolean getSupportsHvm()
      Gets if the system supports full hardware virtualization.
    • getDom0Disks

      public Map<String,Dom0Disk> getDom0Disks()
      Gets the unmodifiable list of disks.
    • getDom0Disk

      public Dom0Disk getDom0Disk(String device)
      Gets a specific disk by its device name or null if not found.
    • toString

      public String toString()
      toString in class Object
    • compareTo

      public int compareTo(Dom0 other)
      Sorted ascending. By:
      1. clusterName
      2. hostname
      Specified by:
      compareTo in interface Comparable<Dom0>