Package net.rubygrapefruit.platform
Interface OsxMemoryInfo
-
- All Superinterfaces:
MemoryInfo
- All Known Implementing Classes:
DefaultOsxMemoryInfo
public interface OsxMemoryInfo extends MemoryInfo
Detailed OSX memory info. This is not exactly what vm_stat displays: vm_stat's Free pages isgetFreePagesCount()minusgetSpeculativePagesCount().getExternalPagesCount()is displayed as File-backed pages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetActivePagesCount()longgetAvailablePhysicalMemory()Calculated.longgetExternalPagesCount()longgetFreePagesCount()longgetInactivePagesCount()longgetPageSize()longgetSpeculativePagesCount()longgetTotalPhysicalMemory()Returns the number of bytes of physical memory installed in the machine.longgetWiredPagesCount()
-
-
-
Method Detail
-
getPageSize
long getPageSize()
-
getFreePagesCount
long getFreePagesCount()
-
getInactivePagesCount
long getInactivePagesCount()
-
getWiredPagesCount
long getWiredPagesCount()
-
getActivePagesCount
long getActivePagesCount()
-
getExternalPagesCount
long getExternalPagesCount()
-
getSpeculativePagesCount
long getSpeculativePagesCount()
-
getTotalPhysicalMemory
long getTotalPhysicalMemory()
Description copied from interface:MemoryInfoReturns the number of bytes of physical memory installed in the machine.- Specified by:
getTotalPhysicalMemoryin interfaceMemoryInfo
-
getAvailablePhysicalMemory
long getAvailablePhysicalMemory()
Calculated.- Specified by:
getAvailablePhysicalMemoryin interfaceMemoryInfo
-
-