java.lang.Object
com.aoindustries.aoserv.cluster.DomUDisk
- All Implemented Interfaces:
Serializable
,Comparable<DomUDisk>
A single virtual disk device and its requirements.
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
This is the standard size of the extents in bytes. -
Method Summary
Modifier and TypeMethodDescriptionint
Sorted ascending.Gets the per-DomU unique device ID (usually /dev/xvd[a-z]).long
Gets the number of LVM extents this virtual disk requires.int
Gets the minimum disk speed or-1
if doesn't matter.short
Gets the allocation weight in the range of 1-1024.toString()
-
Field Details
-
EXTENTS_SIZE
public static final int EXTENTS_SIZEThis is the standard size of the extents in bytes.- See Also:
-
-
Method Details
-
getClusterName
-
getDomUHostname
-
getDevice
Gets the per-DomU unique device ID (usually /dev/xvd[a-z]). -
getMinimumDiskSpeed
public int getMinimumDiskSpeed()Gets the minimum disk speed or-1
if doesn't matter. -
getExtents
public long getExtents()Gets the number of LVM extents this virtual disk requires. -
getWeight
public short getWeight()Gets the allocation weight in the range of 1-1024. -
toString
-
compareTo
Sorted ascending. By:- clusterName
- domUHostname
- device
- Specified by:
compareTo
in interfaceComparable<DomUDisk>
-