Package oshi.hardware.platform.linux
Class LinuxDisks
- java.lang.Object
-
- oshi.hardware.platform.linux.LinuxDisks
-
- All Implemented Interfaces:
java.io.Serializable
,Disks
public class LinuxDisks extends java.lang.Object implements Disks
Linux hard disk implementation.- Author:
- enrico[dot]bianchi[at]gmail[dot]com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LinuxDisks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HWDiskStore[]
getDisks()
Get hard drives on this machinestatic boolean
updateDiskStats(HWDiskStore diskStore)
-
-
-
Method Detail
-
getDisks
public HWDiskStore[] getDisks()
Get hard drives on this machine- Specified by:
getDisks
in interfaceDisks
- Returns:
- Array of
HWDiskStore
objects
-
updateDiskStats
public static boolean updateDiskStats(HWDiskStore diskStore)
-
-