Interface NativeMemoryEvent
- All Superinterfaces:
BaseEvent
- All Known Implementing Classes:
NativeMemoryEventObject
This class defines the values returned when a native memory event takes place and is
used by the NativeMemoryEventListener interface
-
Method Summary
Modifier and TypeMethodDescriptionlongGets the amount of physical memory (RAM) that is free on the monitored system.longGets the amount of physical memory (RAM) that is currently in use by the monitored process.longGets the amount of memory that is used exclusively by the monitored process.longGets the total process address space in use.longGets the total amount of installed physical memory.Methods inherited from interface com.ibm.java.diagnostics.healthcenter.api.BaseEvent
getEventTime
-
Method Details
-
getProcessPhysical
long getProcessPhysical()Gets the amount of physical memory (RAM) that is currently in use by the monitored process. On some platforms, this memory is called "resident storage" or the "working set".- Returns:
- The process physical memory (bytes)
-
getProcessVirtual
long getProcessVirtual()Gets the total process address space in use.- Returns:
- The process virtual memory currently set (bytes)
-
getProcessPrivate
long getProcessPrivate()Gets the amount of memory that is used exclusively by the monitored process. This memory is not shared with other processes on the system.- Returns:
- The process private memory currently in use (bytes)
-
getFreePhysicalMemory
long getFreePhysicalMemory()Gets the amount of physical memory (RAM) that is free on the monitored system.- Returns:
- How much free memory there currently is (bytes)
-
getTotalPhysicalMemory
long getTotalPhysicalMemory()Gets the total amount of installed physical memory.- Returns:
- The current amount of installed memory (bytes)
-