Package oshi.hardware.platform.linux
Class LinuxDisks
java.lang.Object
oshi.hardware.platform.linux.LinuxDisks
- All Implemented Interfaces:
Disks
public class LinuxDisks extends java.lang.Object implements Disks
Linux hard disk implementation.
-
Constructor Summary
Constructors Constructor Description LinuxDisks() -
Method Summary
Modifier and Type Method Description HWDiskStore[]getDisks()Get hard drives on this machinestatic booleanupdateDiskStats(HWDiskStore diskStore)
-
Constructor Details
-
LinuxDisks
public LinuxDisks()
-
-
Method Details
-
getDisks
Description copied from interface:DisksGet hard drives on this machine- Specified by:
getDisksin interfaceDisks- Returns:
- Array of
HWDiskStoreobjects
-
updateDiskStats
- Parameters:
diskStore- aHWDiskStoreobject.- Returns:
- a boolean.
-