Package com.aoindustries.aoserv.cluster
Class PhysicalVolumeConfigurationLong
java.lang.Object
com.aoindustries.aoserv.cluster.PhysicalVolumeConfiguration
com.aoindustries.aoserv.cluster.PhysicalVolumeConfigurationLong
- All Implemented Interfaces:
Serializable
,Comparable<PhysicalVolumeConfiguration>
public class PhysicalVolumeConfigurationLong
extends PhysicalVolumeConfiguration
implements Serializable
A 64-bit implementation of PhysicalVolumeConfiguration to be used
when any of the three extents fields do not fit into 32 bits. This will be
the case when the logical or phyiscal volumes reach 128 EB.
- Author:
- AO Industries, Inc.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the number of extents.long
Gets the first logical extent.long
Gets the first physical extent.Methods inherited from class com.aoindustries.aoserv.cluster.PhysicalVolumeConfiguration
compareTo, equals, equals, getPhysicalVolume, hashCode, newInstance, overlaps, toString
-
Method Details
-
getFirstLogicalExtent
public long getFirstLogicalExtent()Description copied from class:PhysicalVolumeConfiguration
Gets the first logical extent.- Specified by:
getFirstLogicalExtent
in classPhysicalVolumeConfiguration
-
getFirstPhysicalExtent
public long getFirstPhysicalExtent()Description copied from class:PhysicalVolumeConfiguration
Gets the first physical extent.- Specified by:
getFirstPhysicalExtent
in classPhysicalVolumeConfiguration
-
getExtents
public long getExtents()Description copied from class:PhysicalVolumeConfiguration
Gets the number of extents.- Specified by:
getExtents
in classPhysicalVolumeConfiguration
-