Class OpenBsdOSFileStore

java.lang.Object
oshi.software.common.AbstractOSFileStore
oshi.software.common.os.unix.openbsd.OpenBsdOSFileStore
All Implemented Interfaces:
OSFileStore

@ThreadSafe public class OpenBsdOSFileStore extends AbstractOSFileStore
OSFileStore implementation. The owning OpenBsdFileSystem is captured at construction so updateAttributes() can re-query against whichever JNA/FFM concrete produced this instance, rather than baking a specific subclass into oshi-common.
  • Constructor Details

  • Method Details

    • updateAttributes

      public boolean updateAttributes()
      Description copied from interface: OSFileStore
      Make a best effort to update all the statistics about the file store without needing to recreate the file store list. This method provides for more frequent periodic updates of file store statistics.
      Returns:
      True if the update was (probably) successful, false if the disk was not found