- java.lang.Object
-
- aeonics.util.Hardware.RAM.Physical
-
- Enclosing class:
- Hardware.RAM
public static class Hardware.RAM.Physical extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Data
export()
Returns a data representation of this class at this point in timestatic long
free()
Returns the amount of free physical memory in bytes.static long
max()
Returns the total amount of physical memory in bytes.static long
process()
Returns the amount of virtual memory that is guaranteed to be available to the running process in bytes.
-
-
-
Method Detail
-
free
public static long free()
Returns the amount of free physical memory in bytes.- Returns:
- the amount of free physical memory in bytes
-
max
public static long max()
Returns the total amount of physical memory in bytes.- Returns:
- the total amount of physical memory in bytes
-
process
public static long process()
Returns the amount of virtual memory that is guaranteed to be available to the running process in bytes.- Returns:
- the amount of virtual memory that is guaranteed to be available to the running process in bytes
-
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
-
-