Class ReplicationRedoLogSizeAlert

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

public class ReplicationRedoLogSizeAlert extends AbstractAlert
A replication redo-log size alert, fired upon redo-log increase, indicating that packets are not being sent from a source Space to it's target Space (backup or mirror). The alert is raised when red-log size crosses a specified 'high' threshold. The alert is resolved when the redo-log size goes below a specified 'low' threshold.

These thresholds can be configured by using the ReplicationRedoLogSizeAlertConfigurer.

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

    • ReplicationRedoLogSizeAlert

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

      public ReplicationRedoLogSizeAlert(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.
    • 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.
    • getReplicationStatus

      public String getReplicationStatus()
      The replication status from source to target Space.
      Returns:
      the replication status; may be null.
    • getRedoLogSize

      public Integer getRedoLogSize()
      The total redo-log size (for all channels) for both memory and swap.
      Returns:
      the redo-log size; may be null.
    • getRedoLogMemorySize

      public Integer getRedoLogMemorySize()
      The in-memory redo-log size (for all channels).
      Returns:
      the redo-log size; may be null.
    • getRedoLogSwapSize

      public Integer getRedoLogSwapSize()
      The swap redo-log size (for all channels).
      Returns:
      the redo-log size; may be null.