Package oshi.hardware.common
Class AbstractLogicalVolumeGroup
java.lang.Object
oshi.hardware.common.AbstractLogicalVolumeGroup
- All Implemented Interfaces:
LogicalVolumeGroup
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AbstractLogicalVolumeGroup
- Parameters:
name
- Name of the volume grouplvMap
- Logical volumes derived from this volume group and the physical volumes its mapped to.pvSet
- Set of physical volumes this volume group consists of.
-
-
Method Details
-
getName
Description copied from interface:LogicalVolumeGroup
Gets the logical volume group name.- Specified by:
getName
in interfaceLogicalVolumeGroup
- Returns:
- The name of the logical volume group.
-
getLogicalVolumes
Description copied from interface:LogicalVolumeGroup
Gets a map containing information about the logical volumes in the logical volume group, represented to the file system as block devices. The keyset for the map represents a collection of the logical volumes, while the values associated with these keys represent the physical volumes mapped to each logical volume (if known).- Specified by:
getLogicalVolumes
in interfaceLogicalVolumeGroup
- Returns:
- A map with the logical volume names as the key, and a set of associated physical volume names as the value.
-
getPhysicalVolumes
Description copied from interface:LogicalVolumeGroup
Gets a set of all physical volumes in this volume group.- Specified by:
getPhysicalVolumes
in interfaceLogicalVolumeGroup
- Returns:
- A set with the names of the physical volumes.
-
toString
-