Class PhysicalMemoryUtilizationAlert

java.lang.Object
org.openspaces.admin.alert.alerts.AbstractAlert
org.openspaces.admin.alert.alerts.PhysicalMemoryUtilizationAlert
All Implemented Interfaces:
Externalizable, Serializable, Alert

public class PhysicalMemoryUtilizationAlert extends AbstractAlert
A physical memory utilization alert, fired upon triggered machine physical memory thresholds. The alert is raised when memory crosses a 'high' threshold for a specified period of time. The alert is resolved when memory crosses a 'low' threshold for a specified period of time.

These thresholds can be configured by using the PhysicalMemoryUtilizationAlertConfigurer.

This alert will be received on the call to AlertTriggeredEventListener.alertTriggered(Alert) for registered listeners.

Since:
8.0
Author:
Moran Avigdor
See Also:
  • Field Details

  • Constructor Details

    • PhysicalMemoryUtilizationAlert

      public PhysicalMemoryUtilizationAlert()
      required by java.io.Externalizable
    • PhysicalMemoryUtilizationAlert

      public PhysicalMemoryUtilizationAlert(Alert alert)
  • Method Details

    • getComponentUid

      public String getComponentUid()
      The component UID is equivalent to OperatingSystem.getUid()
      Specified by:
      getComponentUid in interface Alert
      Overrides:
      getComponentUid in class AbstractAlert
      Returns:
      Component UID - the unique identifier of the component associated with the alert.
    • getHostAddress

      public String getHostAddress()
      The host address of the machine that this alert corresponds to.
      Returns:
      the host address; may be null.
    • getHostName

      public String getHostName()
      The host name of the machine that this alert corresponds to.
      Returns:
      the host name; may be null.
    • getCpuUtilization

      public Double getCpuUtilization()
      The CPU utilization reading when this alert was fired.
      Returns:
      the CPU utilization; may be null.
    • getMemoryUtilization

      public Double getMemoryUtilization()
      The memory utilization reading when this alert was fired.
      Returns:
      the memory utilization; may be null.