Package oshi.hardware

Interface LogicalVolumeGroup

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.util.Set<java.lang.String>> getLogicalVolumes()
      Gets a map containing information about the logical volumes in the logical volume group, represented to the file system as block devices.
      java.lang.String getName()
      Gets the logical volume group name.
      java.util.Set<java.lang.String> getPhysicalVolumes()
      Gets a set of all physical volumes in this volume group.
    • Method Detail

      • getName

        java.lang.String getName()
        Gets the logical volume group name.
        Returns:
        The name of the logical volume group.
      • getPhysicalVolumes

        java.util.Set<java.lang.String> getPhysicalVolumes()
        Gets a set of all physical volumes in this volume group.
        Returns:
        A set with the names of the physical volumes.
      • getLogicalVolumes

        java.util.Map<java.lang.String,​java.util.Set<java.lang.String>> getLogicalVolumes()
        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).
        Returns:
        A map with the logical volume names as the key, and a set of associated physical volume names as the value.