java.lang.Object
com.aoindustries.aoserv.cluster.Dom0
- All Implemented Interfaces:
Serializable
,Comparable<Dom0>
One Xen dom0 cluster member.
- Author:
- AO Industries, Inc.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
Sorted ascending.getDom0Disk
(String device) Gets a specific disk by its device name ornull
if not found.Gets the unmodifiable list of disks.int
Gets the number of processor cores, hyperthreaded CPUs count as two.int
Gets the processor speed in megahertz.int
getRam()
Gets the physical amount of RAM in megabytes.boolean
Gets if the system supports full hardware virtualization.toString()
-
Method Details
-
getClusterName
-
getHostname
-
getRam
public int getRam()Gets the physical amount of RAM in megabytes. -
getProcessorType
-
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
Gets the unmodifiable list of disks. -
getDom0Disk
Gets a specific disk by its device name ornull
if not found. -
toString
-
compareTo
Sorted ascending. By:- clusterName
- hostname
- Specified by:
compareTo
in interfaceComparable<Dom0>
-