GigaSpaces XAP 9.1 API

org.openspaces.admin.alert.alerts
Class ReplicationChannelDisconnectedAlert

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

public class ReplicationChannelDisconnectedAlert
extends AbstractAlert

A replication channel disconnection alert, fired upon a disconnected channel between a source (primary Space) and it's target (backup Space or Mirror). The alert is raised when the channel has disconnected. The alert is resolved when the channel is reconnected.

These thresholds can be configured by using the ReplicationChannelDisconnectedAlertConfigurer.

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

Since:
8.0
Author:
Moran Avigdor
See Also:
Serialized Form

Field Summary
static String REPLICATION_STATUS
           
static String SOURCE_CPU_UTILIZATION
           
static String SOURCE_HEAP_UTILIZATION
           
static String SOURCE_HOST_ADDRESS
           
static String SOURCE_HOST_NAME
           
static String SOURCE_UID
           
static String SOURCE_VIRTUAL_MACHINE_UID
           
static String TARGET_CPU_UTILIZATION
           
static String TARGET_HEAP_UTILIZATION
           
static String TARGET_HOST_ADDRESS
           
static String TARGET_HOST_NAME
           
static String TARGET_IS_MIRROR
           
static String TARGET_UID
           
static String TARGET_VIRTUAL_MACHINE_UID
           
 
Constructor Summary
ReplicationChannelDisconnectedAlert()
          required by java.io.Externalizable
ReplicationChannelDisconnectedAlert(Alert alert)
           
 
Method Summary
 String getComponentUid()
           The component UID is equivalent to GridComponent.getUid()
 String getReplicationStatus()
          The replication status from source to target Space.
 Double getSourceCpuUtilization()
          The CPU utilization reading when this alert was fired.
 Double getSourceHeapUtilization()
          The heap memory utilization reading when this alert was fired.
 String getSourceHostAddress()
          The host address of the source machine that this alert corresponds to.
 String getSourceHostName()
          The host name of the source machine that this alert corresponds to.
 String getSourceUid()
          The source Space unique id.
 String getSourceVirtualMachineUid()
          The uid of the source virtual machine that this alert corresponds to.
 Double getTargetCpuUtilization()
          The CPU utilization reading when this alert was fired.
 Double getTargetHeapUtilization()
          The heap memory utilization reading when this alert was fired.
 String getTargetHostAddress()
          The host address of the target machine that this alert corresponds to.
 String getTargetHostName()
          The host name of the target machine that this alert corresponds to.
 Boolean getTargetIsMirror()
          An indication if the target Space is a Mirror-Service.
 String getTargetUid()
          The target Space unique id.
 String getTargetVirtualMachineUid()
          The uid of the target virtual machine that this alert corresponds to.
 
Methods inherited from class org.openspaces.admin.alert.alerts.AbstractAlert
getAlert, getAlertUid, getComponentDescription, 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

SOURCE_HOST_ADDRESS

public static final String SOURCE_HOST_ADDRESS
See Also:
Constant Field Values

SOURCE_HOST_NAME

public static final String SOURCE_HOST_NAME
See Also:
Constant Field Values

SOURCE_VIRTUAL_MACHINE_UID

public static final String SOURCE_VIRTUAL_MACHINE_UID
See Also:
Constant Field Values

SOURCE_CPU_UTILIZATION

public static final String SOURCE_CPU_UTILIZATION
See Also:
Constant Field Values

SOURCE_HEAP_UTILIZATION

public static final String SOURCE_HEAP_UTILIZATION
See Also:
Constant Field Values

TARGET_HOST_ADDRESS

public static final String TARGET_HOST_ADDRESS
See Also:
Constant Field Values

TARGET_HOST_NAME

public static final String TARGET_HOST_NAME
See Also:
Constant Field Values

TARGET_VIRTUAL_MACHINE_UID

public static final String TARGET_VIRTUAL_MACHINE_UID
See Also:
Constant Field Values

TARGET_CPU_UTILIZATION

public static final String TARGET_CPU_UTILIZATION
See Also:
Constant Field Values

TARGET_HEAP_UTILIZATION

public static final String TARGET_HEAP_UTILIZATION
See Also:
Constant Field Values

REPLICATION_STATUS

public static final String REPLICATION_STATUS
See Also:
Constant Field Values

SOURCE_UID

public static final String SOURCE_UID
See Also:
Constant Field Values

TARGET_UID

public static final String TARGET_UID
See Also:
Constant Field Values

TARGET_IS_MIRROR

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

ReplicationChannelDisconnectedAlert

public ReplicationChannelDisconnectedAlert()
required by java.io.Externalizable


ReplicationChannelDisconnectedAlert

public ReplicationChannelDisconnectedAlert(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.

getSourceHostAddress

public String getSourceHostAddress()
The host address of the source machine that this alert corresponds to.

Returns:
the host address; may be null.

getSourceHostName

public String getSourceHostName()
The host name of the source machine that this alert corresponds to.

Returns:
the host name; may be null.

getSourceVirtualMachineUid

public String getSourceVirtualMachineUid()
The uid of the source virtual machine that this alert corresponds to.

Returns:
the source virtual machine uid; may be null.

getSourceCpuUtilization

public Double getSourceCpuUtilization()
The CPU utilization reading when this alert was fired.

Returns:
the CPU utilization; may be null.

getSourceHeapUtilization

public Double getSourceHeapUtilization()
The heap memory utilization reading when this alert was fired.

Returns:
the heap utilization; may be null.

getTargetHostAddress

public String getTargetHostAddress()
The host address of the target machine that this alert corresponds to.

Returns:
the host address; may be null.

getTargetHostName

public String getTargetHostName()
The host name of the target machine that this alert corresponds to.

Returns:
the host name; may be null.

getTargetVirtualMachineUid

public String getTargetVirtualMachineUid()
The uid of the target virtual machine that this alert corresponds to.

Returns:
the target virtual machine uid; may be null.

getTargetCpuUtilization

public Double getTargetCpuUtilization()
The CPU utilization reading when this alert was fired.

Returns:
the CPU utilization; may be null.

getTargetHeapUtilization

public Double getTargetHeapUtilization()
The heap memory utilization reading when this alert was fired.

Returns:
the heap utilization; may be null.

getReplicationStatus

public String getReplicationStatus()
The replication status from source to target Space.

Returns:
the replication status; may be null.

getSourceUid

public String getSourceUid()
The source Space unique id.

Returns:
the source uid; may be null.

getTargetUid

public String getTargetUid()
The target Space unique id.

Returns:
the target uid; may be null.

getTargetIsMirror

public Boolean getTargetIsMirror()
An indication if the target Space is a Mirror-Service.

Returns:
true if its a Mirror; false if regular Space; may be null.

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.