Class MacHWDiskStoreJNA
java.lang.Object
oshi.hardware.common.AbstractHWDiskStore
oshi.hardware.common.platform.mac.MacHWDiskStore
oshi.hardware.platform.mac.MacHWDiskStoreJNA
- All Implemented Interfaces:
oshi.hardware.HWDiskStore
@ThreadSafe
public final class MacHWDiskStoreJNA
extends oshi.hardware.common.platform.mac.MacHWDiskStore
Mac hard disk implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from class oshi.hardware.common.platform.mac.MacHWDiskStore
oshi.hardware.common.platform.mac.MacHWDiskStore.CFKey -
Method Summary
Methods inherited from class oshi.hardware.common.platform.mac.MacHWDiskStore
getCurrentQueueLength, getPartitions, getReadBytes, getReads, getTimeStamp, getTransferTime, getWriteBytes, getWrites, setCurrentQueueLength, setPartitionList, setReadBytes, setReads, setTimeStamp, setTransferTime, setWriteBytes, setWritesMethods inherited from class oshi.hardware.common.AbstractHWDiskStore
getModel, getName, getSerial, getSize, toString
-
Method Details
-
updateAttributes
public boolean updateAttributes() -
getDisks
Gets the disks on this machine- Returns:
- a list of
HWDiskStoreobjects representing the disks
-