Class ProcessingUnitInstanceMemberAliveIndicatorAlert

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

public class ProcessingUnitInstanceMemberAliveIndicatorAlert extends AbstractAlert
A processing unit instance fault-detection alert triggered when a Grid Service Manager fails to monitor a processing unit instance. The alert is first raised when the fault-detection mechanism suspects that a service is down, and once more when all fault-detection retry attempts have been exhausted. The alert is resolved if one the fault-detection retry attempts succeeded.

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

Since:
8.0.6
Author:
moran
See Also:
  • Field Details

  • Constructor Details

    • ProcessingUnitInstanceMemberAliveIndicatorAlert

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

      public ProcessingUnitInstanceMemberAliveIndicatorAlert(Alert alert)
  • Method Details

    • getComponentUid

      public String getComponentUid()
      The component UID is equivalent to GridComponent.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.
    • getComponentDescription

      public String getComponentDescription()
      Description of the component:
      • host - [Host IP]
      • GSC - [GSC Name] on [Host IP]
      • LUS - LUS on [Host IP]
      • GSM - GSM on [Host IP]
      • PU instance - [PU name] [Partition number] [Primary or backup] on [Host IP]
      • Mirror - Mirror on [Host IP]
      • EDS - EDS on [Host IP]
      The component description is equivalent to ProcessingUnitInstance.getProcessingUnitInstanceName()
      Specified by:
      getComponentDescription in interface Alert
      Overrides:
      getComponentDescription in class AbstractAlert
      Returns:
      Component Description - the description of the component specified by the Alert.getComponentUid().
    • getProcessingUnitName

      public String getProcessingUnitName()
      Returns:
      the processing unit name ProcessingUnit.getName(); may be null.
    • getProcessingUnitInstanceName

      public String getProcessingUnitInstanceName()
      Returns:
      the processing unit instance name ProcessingUnitInstance.getProcessingUnitInstanceName().
      See Also:
    • getMemberAliveIndicatorStatus

      public MemberAliveIndicatorStatus getMemberAliveIndicatorStatus()
      Returns:
      the fault-detection status; may be null.
    • 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.
    • getVirtualMachineUid

      public String getVirtualMachineUid()
      The uid of the virtual machine that this alert corresponds to.
      Returns:
      the virtual machine uid; may be null.
    • getCpuUtilization

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

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