Class ReplicationChannelDisconnectedAlert

java.lang.Object
org.openspaces.admin.alert.alerts.AbstractAlert
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:
  • Field Details

  • Constructor Details

    • ReplicationChannelDisconnectedAlert

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

      public ReplicationChannelDisconnectedAlert(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.
    • 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()
      Returns:
      the source uid; may be null.
    • getTargetUid

      public String getTargetUid()
      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.