Package net.rubygrapefruit.platform
Interface MemoryInfo
-
- All Known Subinterfaces:
OsxMemoryInfo
- All Known Implementing Classes:
DefaultMemoryInfo,DefaultOsxMemoryInfo
public interface MemoryInfoProvides some information about the system memory. This is a snapshot and does not change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetAvailablePhysicalMemory()Returns the number of bytes of physical memory that are available for use.longgetTotalPhysicalMemory()Returns the number of bytes of physical memory installed in the machine.
-
-
-
Method Detail
-
getTotalPhysicalMemory
long getTotalPhysicalMemory()
Returns the number of bytes of physical memory installed in the machine.
-
getAvailablePhysicalMemory
long getAvailablePhysicalMemory()
Returns the number of bytes of physical memory that are available for use. Includes memory that is available without swapping.
-
-