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

    Modifier and Type
    Method
    Description
    static List<oshi.hardware.HWDiskStore>
    Gets the disks on this machine
    boolean
     

    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, setWrites

    Methods inherited from class oshi.hardware.common.AbstractHWDiskStore

    getModel, getName, getSerial, getSize, toString

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • updateAttributes

      public boolean updateAttributes()
    • getDisks

      public static List<oshi.hardware.HWDiskStore> getDisks()
      Gets the disks on this machine
      Returns:
      a list of HWDiskStore objects representing the disks