Class LinuxHWDiskStoreJNA
java.lang.Object
oshi.hardware.common.AbstractHWDiskStore
oshi.hardware.common.platform.linux.LinuxHWDiskStore
oshi.hardware.platform.linux.LinuxHWDiskStoreJNA
- All Implemented Interfaces:
oshi.hardware.HWDiskStore
@ThreadSafe
public final class LinuxHWDiskStoreJNA
extends oshi.hardware.common.platform.linux.LinuxHWDiskStore
JNA-based Linux hard disk implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from class oshi.hardware.common.platform.linux.LinuxHWDiskStore
oshi.hardware.common.platform.linux.LinuxHWDiskStore.UdevStat -
Field Summary
Fields inherited from class oshi.hardware.common.platform.linux.LinuxHWDiskStore
BLOCK, DISK, DM_LV_NAME, DM_UUID, DM_VG_NAME, ID_FS_LABEL, ID_FS_TYPE, ID_FS_UUID, ID_MODEL, ID_SERIAL_SHORT, LOGICAL_VOLUME_GROUP, MAJOR, MINOR, PARTITION, SECTORSIZE, SIZE, STAT, UDEV_STAT_LENGTH, UDEV_STAT_ORDERS -
Method Summary
Methods inherited from class oshi.hardware.common.platform.linux.LinuxHWDiskStore
computeDiskStats, finalizePartitions, getCurrentQueueLength, getDependentNamesFromHoldersDirectory, getMountPointOfDmDevice, getMutablePartitionList, getPartitionNameForDmDevice, getPartitions, getReadBytes, getReads, getTimeStamp, getTransferTime, getWriteBytes, getWrites, readMountsMap, setDiskStats, setPartitionListMethods inherited from class oshi.hardware.common.AbstractHWDiskStore
getModel, getName, getSerial, getSize, toString
-
Method Details
-
getDisks
Gets the disks on this machine- Returns:
- a list of
HWDiskStoreobjects representing the disks
-
updateAttributes
public boolean updateAttributes()
-