Class HeapMemoryUtilizationAlert
java.lang.Object
org.openspaces.admin.alert.alerts.AbstractAlert
org.openspaces.admin.alert.alerts.HeapMemoryUtilizationAlert
- All Implemented Interfaces:
Externalizable,Serializable,Alert
A heap memory utilization alert, fired upon triggered JVM heap-memory thresholds. The alert is
raised when heap memory crosses a 'high' threshold for a specified period of time. The alert is
resolved when heap-memory crosses a 'low' threshold for a specified period of time.
These
thresholds can be configured by using the HeapMemoryUtilizationAlertConfigurer.
This
alert will be received on the call to AlertTriggeredEventListener.alertTriggered(Alert)
for registered listeners.
- Since:
- 8.0
- Author:
- Moran Avigdor
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe name of the component for which the alert was fired (e.g.The component UID is equivalent toVirtualMachine.getUid()The CPU utilization reading when this alert was fired.The Heap utilization reading when this alert was fired.The host address of the machine that this alert corresponds to.The host name of the machine that this alert corresponds to.The maximum amount of memory in bytes that can be used for memory management.The process id of the component for which the alert was fired.Methods inherited from class org.openspaces.admin.alert.alerts.AbstractAlert
getAlert, getAlertUid, getComponentDescription, getConfig, getDescription, getGroupUid, getName, getProperties, getSeverity, getStatus, getTimestamp, readExternal, toString, writeExternal
-
Field Details
-
HOST_ADDRESS
- See Also:
-
HOST_NAME
- See Also:
-
CPU_UTILIZATION
- See Also:
-
PROCESS_ID
- See Also:
-
COMPONENT_NAME
- See Also:
-
HEAP_UTILIZATION
- See Also:
-
MAX_HEAP_IN_BYTES
- See Also:
-
-
Constructor Details
-
HeapMemoryUtilizationAlert
public HeapMemoryUtilizationAlert()required by java.io.Externalizable -
HeapMemoryUtilizationAlert
-
-
Method Details
-
getComponentUid
The component UID is equivalent toVirtualMachine.getUid()- Specified by:
getComponentUidin interfaceAlert- Overrides:
getComponentUidin classAbstractAlert- Returns:
- Component UID - the unique identifier of the component associated with the alert.
-
getHostAddress
The host address of the machine that this alert corresponds to.- Returns:
- the host address; may be
null.
-
getHostName
The host name of the machine that this alert corresponds to.- Returns:
- the host name; may be
null.
-
getCpuUtilization
The CPU utilization reading when this alert was fired.- Returns:
- the CPU utilization; may be
null.
-
getProcessId
The process id of the component for which the alert was fired.- Returns:
- the process id (pid); may be
null.
-
getComponentName
The name of the component for which the alert was fired (e.g. 'Grid Service Agent', 'Grid Service Manager', 'Grid Service Container', 'Lookup Service').- Returns:
- the name of the component.
-
getHeapUtilization
The Heap utilization reading when this alert was fired.- Returns:
- the Heap utilization; may be
null.
-
getMaxHeapInBytes
The maximum amount of memory in bytes that can be used for memory management. This method returns -1 if the maximum memory size (-Xmx) is undefined.- Returns:
- the Heap utilization; may be
null.
-