Module aeonics.core
Package aeonics.util

Class Hardware.RAM.Heap

  • Enclosing class:
    Hardware.RAM

    public static class Hardware.RAM.Heap
    extends java.lang.Object
    Heap space
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long committed()
      Returns the amount of memory in bytes that is committed forthe Java virtual machine to use
      static Data detail()
      Returns the detail of all internal memory pools
      static Data export()
      Returns a data representation of this class at this point in time
      static long max()
      Returns the maximum amount of memory in bytes that can be used
      static long used()
      Returns the amount of used memory in bytes
      • Methods inherited from class java.lang.Object

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

      • used

        public static long used()
        Returns the amount of used memory in bytes
        Returns:
        the amount of used memory in bytes
      • max

        public static long max()
        Returns the maximum amount of memory in bytes that can be used
        Returns:
        the maximum amount of memory in bytes that can be used
      • committed

        public static long committed()
        Returns the amount of memory in bytes that is committed forthe Java virtual machine to use
        Returns:
        the amount of memory in bytes that is committed forthe Java virtual machine to use
      • detail

        public static Data detail()
        Returns the detail of all internal memory pools
        Returns:
        the detail of all internal memory pools
      • export

        public static Data export()
        Returns a data representation of this class at this point in time
        Returns:
        a data representation of this class at this point in time