Uses of Class
com.aoindustries.aoserv.cluster.PhysicalVolumeConfiguration
-
Uses of PhysicalVolumeConfiguration in com.aoindustries.aoserv.cluster
Modifier and TypeClassDescriptionclass
A 32-bit implementation of PhysicalVolumeConfiguration to be used when all three extents fields fit into 32 bits and at least one value is greater than the 16-bit range.class
A 64-bit implementation of PhysicalVolumeConfiguration to be used when any of the three extents fields do not fit into 32 bits.class
A 16-bit implementation of PhysicalVolumeConfiguration to be used when all three extents fields fit into 16 bits.Modifier and TypeMethodDescriptionstatic PhysicalVolumeConfiguration
PhysicalVolumeConfiguration.newInstance
(PhysicalVolume physicalVolume, long firstLogicalExtent, long firstPhysicalExtent, long extents) Creates a new PhysicalVolume of the appropriate type for the provided extents.Modifier and TypeMethodDescriptionDomUDiskConfiguration.getPrimaryPhysicalVolumeConfigurations()
Gets the unmodifiable sorted list of physical volumes that back this device.DomUDiskConfiguration.getSecondaryPhysicalVolumeConfigurations()
Gets the unmodifiable sorted list of physical volumes that back this device.Modifier and TypeMethodDescriptionfinal int
PhysicalVolumeConfiguration.compareTo
(PhysicalVolumeConfiguration other) Sorted ascending.final boolean
PhysicalVolumeConfiguration.equals
(PhysicalVolumeConfiguration other) Performs a deep field-by-field comparison to see if two configurations are identical in every way.final boolean
PhysicalVolumeConfiguration.overlaps
(PhysicalVolumeConfiguration other) Returns true if either the logical or the physical extents overlap.Modifier and TypeMethodDescriptionClusterConfiguration.addDomUDiskConfiguration
(DomU domU, DomUDisk domUDisk, List<PhysicalVolumeConfiguration> primaryPhysicalVolumeConfigurations, List<PhysicalVolumeConfiguration> secondaryPhysicalVolumeConfigurations) Adds a domU disk to the configuration.