GigaSpaces XAP 9.5 API

org.openspaces.admin.alert.alerts
Class ProcessingUnitInstanceMemberAliveIndicatorAlert

java.lang.Object
  extended by org.openspaces.admin.alert.alerts.AbstractAlert
      extended by 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:
Serialized Form

Field Summary
static String CPU_UTILIZATION
           
static String HEAP_UTILIZATION
           
static String HOST_ADDRESS
           
static String HOST_NAME
           
static String MEMBER_ALIVE_INDICATOR_STATUS
           
static String PROCESSING_UNIT_NAME
           
static String VIRTUAL_MACHINE_UID
           
 
Constructor Summary
ProcessingUnitInstanceMemberAliveIndicatorAlert()
          required by java.io.Externalizable
ProcessingUnitInstanceMemberAliveIndicatorAlert(Alert alert)
           
 
Method Summary
 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]
 String getComponentUid()
           The component UID is equivalent to GridComponent.getUid()
 Double getCpuUtilization()
          The CPU utilization reading when this alert was fired.
 Double getHeapUtilization()
          The heap memory utilization reading when this alert was fired.
 String getHostAddress()
          The host address of the machine that this alert corresponds to.
 String getHostName()
          The host name of the machine that this alert corresponds to.
 MemberAliveIndicatorStatus getMemberAliveIndicatorStatus()
           
 String getProcessingUnitInstanceName()
           
 String getProcessingUnitName()
           
 String getVirtualMachineUid()
          The uid of the virtual machine that this alert corresponds to.
 
Methods inherited from class org.openspaces.admin.alert.alerts.AbstractAlert
getAlert, getAlertUid, getConfig, getDescription, getGroupUid, getName, getProperties, getSeverity, getStatus, getTimestamp, readExternal, toString, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROCESSING_UNIT_NAME

public static final String PROCESSING_UNIT_NAME
See Also:
Constant Field Values

MEMBER_ALIVE_INDICATOR_STATUS

public static final String MEMBER_ALIVE_INDICATOR_STATUS
See Also:
Constant Field Values

HOST_ADDRESS

public static final String HOST_ADDRESS
See Also:
Constant Field Values

HOST_NAME

public static final String HOST_NAME
See Also:
Constant Field Values

VIRTUAL_MACHINE_UID

public static final String VIRTUAL_MACHINE_UID
See Also:
Constant Field Values

CPU_UTILIZATION

public static final String CPU_UTILIZATION
See Also:
Constant Field Values

HEAP_UTILIZATION

public static final String HEAP_UTILIZATION
See Also:
Constant Field Values
Constructor Detail

ProcessingUnitInstanceMemberAliveIndicatorAlert

public ProcessingUnitInstanceMemberAliveIndicatorAlert()
required by java.io.Externalizable


ProcessingUnitInstanceMemberAliveIndicatorAlert

public ProcessingUnitInstanceMemberAliveIndicatorAlert(Alert alert)
Method Detail

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: 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:
getComponentDescription()

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.

GigaSpaces XAP 9.5 API

Copyright © GigaSpaces.