public interface NativeMemoryData extends HealthCenterData
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FREEPHYSICALMEMORYDATA
Used to get only Free Physical Memory Data when comparing against
NotificationListener.getUserData() |
static java.lang.String |
PHYSICALMEMORYDATA
Used to get only Physical Memory Data when comparing against
NotificationListener.getUserData() |
static java.lang.String |
PRIVATEMEMORYDATA
Used to get only Private Memory Data when comparing against
NotificationListener.getUserData() |
static java.lang.String |
TOTALPHYSICALMEMORYDATA
Used to get only Total Physical Memory Data when comparing against
NotificationListener.getUserData() |
static java.lang.String |
VIRTUALMEMORYDATA
Used to get only Virtual Memory Data when comparing against
NotificationListener.getUserData() |
Modifier and Type | Method and Description |
---|---|
void |
addNativeMemoryCategoryListener(NativeMemoryCategoryEventListener listener)
Add a listener for notification of when Native Memory Category events
occur
|
void |
addNativeMemoryListener(NativeMemoryEventListener listener)
Add a listener for notification of when Native Memory events occur
|
MemoryData[] |
getFreePhysicalMemory()
Gets the amount of physical memory (RAM) that is free on the monitored
system.
|
long |
getMaxFreePhysicalMemory()
Gets the maximum amount of memory that is free on the monitored system in
bytes.
|
long |
getMaxProcessPhysicalMemory()
Gets the maximum amount of physical memory in use by the monitored
process in bytes.
|
long |
getMaxProcessPrivateMemory()
Gets the maximum amount of memory used exclusively by the monitored
process, in bytes.
|
long |
getMaxProcessVirtualMemory()
Gets the maximum amount of total process address space used, in bytes.
|
double |
getMeanFreePhysicalMemory()
Gets the mean amount of memory that is free on the monitored system in
bytes.
|
double |
getMeanProcessPhysicalMemory()
Gets the mean amount of physical memory in use by the monitored process
in bytes.
|
double |
getMeanProcessPrivateMemory()
Gets the mean amount of memory used exclusively by the monitored process,
in bytes.
|
double |
getMeanProcessVirtualMemory()
Gets the mean amount of total process address space used, in bytes.
|
long |
getMinFreePhysicalMemory()
Gets the minimum amount of memory that is free on the monitored system in
bytes.
|
long |
getMinProcessPhysicalMemory()
Gets the minimum amount of physical memory in use by the monitored
process in bytes.
|
long |
getMinProcessPrivateMemory()
Gets the minimum amount of memory used exclusively by the monitored
process, in bytes.
|
long |
getMinProcessVirtualMemory()
Gets the minimum amount of total process address space used, in bytes.
|
NativeMemoryCategory |
getNativeMemoryRoot()
Gets the object at the root of the hierarchy of native memory categories.
|
MemoryData[] |
getProcessPhysical()
Gets the amount of physical memory (RAM) that is currently in use by the
monitored process.
|
MemoryData[] |
getProcessPrivate()
Gets the amount of memory that is used exclusively by the monitored
process.
|
MemoryData[] |
getProcessVirtual()
Gets the total process address space in use.
|
MemoryData[] |
getTotalPhysicalMemory()
Gets the total amount of installed physical memory.
|
void |
removeNativeMemoryCategoryListener(NativeMemoryCategoryEventListener listener)
Remove one of the registered listeners.
|
void |
removeNativeMemoryListener(NativeMemoryEventListener listener)
Remove one of the registered listeners.
|
getAllRecommendations, getCriticalRecommendations, getHealthyRecommendations, getInformationalRecommendations, getWarningRecommendations, startNotifying, startNotifying
static final java.lang.String PHYSICALMEMORYDATA
NotificationListener.getUserData()
static final java.lang.String VIRTUALMEMORYDATA
NotificationListener.getUserData()
static final java.lang.String PRIVATEMEMORYDATA
NotificationListener.getUserData()
static final java.lang.String FREEPHYSICALMEMORYDATA
NotificationListener.getUserData()
static final java.lang.String TOTALPHYSICALMEMORYDATA
NotificationListener.getUserData()
MemoryData[] getProcessPhysical()
MemoryData[] getProcessVirtual()
MemoryData[] getProcessPrivate()
MemoryData[] getFreePhysicalMemory()
MemoryData[] getTotalPhysicalMemory()
NativeMemoryCategory getNativeMemoryRoot()
long getMinFreePhysicalMemory()
long getMaxFreePhysicalMemory()
double getMeanFreePhysicalMemory()
long getMinProcessPhysicalMemory()
long getMaxProcessPhysicalMemory()
double getMeanProcessPhysicalMemory()
long getMinProcessPrivateMemory()
long getMaxProcessPrivateMemory()
double getMeanProcessPrivateMemory()
long getMinProcessVirtualMemory()
long getMaxProcessVirtualMemory()
double getMeanProcessVirtualMemory()
void addNativeMemoryListener(NativeMemoryEventListener listener)
implementation
- of the NativeMemoryEventListener classvoid addNativeMemoryCategoryListener(NativeMemoryCategoryEventListener listener)
implementation
- of the addNativeMemoryCategoryListener classvoid removeNativeMemoryListener(NativeMemoryEventListener listener)
implementation
- of the NativeMemoryEventListener classvoid removeNativeMemoryCategoryListener(NativeMemoryCategoryEventListener listener)
implementation
- of the NativeMemoryCategoryEventListener class