Class DiskSpaceHelper

    • Field Detail

      • ROLE

        public static final String ROLE
        Avalon Role
    • Method Detail

      • getUsedSpace

        public long getUsedSpace()
        Gets the space used by the ametys home directory
        Returns:
        The space used by the ametys home directory in bytes
      • getAvailableSpace

        public long getAvailableSpace()
        Gets the free space remaining on the disk of Ametys home directory
        Returns:
        The free space remaining on the disk of Ametys home directory in bytes