Class Fsstat


  • @ThreadSafe
    public final class Fsstat
    extends java.lang.Object
    Utility to query fsstat
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Fsstat()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static int queryFsstat​(com.sun.jna.platform.mac.SystemB.Statfs[] buf, int bufsize, int flags)  
      static java.util.Map<java.lang.String,​java.lang.String> queryPartitionToMountMap()
      Query fsstat to map partitions to mount points
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Fsstat

        private Fsstat()
    • Method Detail

      • queryPartitionToMountMap

        public static java.util.Map<java.lang.String,​java.lang.String> queryPartitionToMountMap()
        Query fsstat to map partitions to mount points
        Returns:
        A map with partitions as the key and mount points as the value
      • queryFsstat

        private static int queryFsstat​(com.sun.jna.platform.mac.SystemB.Statfs[] buf,
                                       int bufsize,
                                       int flags)