Class SolarisDisks

java.lang.Object
oshi.hardware.platform.unix.solaris.SolarisDisks

@ThreadSafe
public final class SolarisDisks
extends java.lang.Object
Solaris hard disk implementation.
  • Method Summary

    Modifier and Type Method Description
    static HWDiskStore[] getDisks()
    Gets the disks on this machine
    static boolean updateDiskStats​(HWDiskStore diskStore)
    Updates the statistics on a disk store.

    Methods inherited from class java.lang.Object

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

    • updateDiskStats

      public static boolean updateDiskStats​(HWDiskStore diskStore)
      Updates the statistics on a disk store.
      Parameters:
      diskStore - the HWDiskStore to update.
      Returns:
      true if the update was (probably) successful.
    • getDisks

      public static HWDiskStore[] getDisks()
      Gets the disks on this machine
      Returns:
      an array of HWDiskStore objects representing the disks