GigaSpaces XAP 9.7.2 API

org.openspaces.admin.alert.alerts
Class ReplicationRedoLogSizeAlert

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

Field Summary
static String CPU_UTILIZATION
           
static String HEAP_UTILIZATION
           
static String HOST_ADDRESS
           
static String HOST_NAME
           
static String REDO_LOG_MEMORY_SIZE
           
static String REDO_LOG_SIZE
           
static String REDO_LOG_SWAP_SIZE
           
static String REPLICATION_STATUS
           
static String VIRTUAL_MACHINE_UID
           
 
Constructor Summary
ReplicationRedoLogSizeAlert()
          required by java.io.Externalizable
ReplicationRedoLogSizeAlert(Alert alert)
           
 
Method Summary
 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.
 Integer getRedoLogMemorySize()
          The in-memory redo-log size (for all channels).
 Integer getRedoLogSize()
          The total redo-log size (for all channels) for both memory and swap.
 Integer getRedoLogSwapSize()
          The swap redo-log size (for all channels).
 String getReplicationStatus()
          The replication status from source to target Space.
 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, 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

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

REPLICATION_STATUS

public static final String REPLICATION_STATUS
See Also:
Constant Field Values

REDO_LOG_SIZE

public static final String REDO_LOG_SIZE
See Also:
Constant Field Values

REDO_LOG_MEMORY_SIZE

public static final String REDO_LOG_MEMORY_SIZE
See Also:
Constant Field Values

REDO_LOG_SWAP_SIZE

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

ReplicationRedoLogSizeAlert

public ReplicationRedoLogSizeAlert()
required by java.io.Externalizable


ReplicationRedoLogSizeAlert

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

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.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.