Class MirrorPersistenceFailureAlert
java.lang.Object
org.openspaces.admin.alert.alerts.AbstractAlert
org.openspaces.admin.alert.alerts.MirrorPersistenceFailureAlert
- All Implemented Interfaces:
Externalizable,Serializable,Alert
A Mirror persistency failure alert, triggered upon a failed replication from primary Space to
Mirror Space, due to an error (e.g. a DB error). The alert is raised when the replication channel
has encountered an exception reported by the Mirror target. The alert is resolved when the Mirror
manages to persist to the DB for first time after the alert has been triggered.
This alert
will be received on the call to AlertTriggeredEventListener.alertTriggered(Alert) for
registered listeners.
- Since:
- 8.0
- Author:
- Moran Avigdor
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionrequired by java.io.Externalizable -
Method Summary
Modifier and TypeMethodDescriptionThe component UID is equivalent toGridComponent.getUid()The discarded operation count reported by the Mirror.The failed operation count reported by the Mirror.The host address of the machine that this alert corresponds to.The host name of the machine that this alert corresponds to.The reason why a source (primary Space) could not replicate to a target (Mirror Space).The in-progress operation count reported by the Mirror.The redo-log size for replication packets outgoing to the Mirror (both memory and swap).The total redo-log size (for all channels) for both memory and swap.Thereplication statusfrom source to target Space.The last cause message in the reason given bygetInconsistencyReason().The last cause stack trace in the reason given bygetInconsistencyReason().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
-
Field Details
-
HOST_ADDRESS
- See Also:
-
HOST_NAME
- See Also:
-
VIRTUAL_MACHINE_UID
- See Also:
-
INCONSISTENCY_REASON
- See Also:
-
ROOT_CAUSE_MESSAGE
- See Also:
-
ROOT_CAUSE_TRACE
- See Also:
-
REPLICATION_STATUS
- See Also:
-
REDO_LOG_SIZE
- See Also:
-
REDO_LOG_RETAINED_SIZE
- See Also:
-
FAILED_OPERATION_COUNT
- See Also:
-
IN_PROGRESS_OPERATION_COUNT
- See Also:
-
DISCARDED_OPERATION_COUNT
- See Also:
-
-
Constructor Details
-
MirrorPersistenceFailureAlert
public MirrorPersistenceFailureAlert()required by java.io.Externalizable -
MirrorPersistenceFailureAlert
-
-
Method Details
-
getComponentUid
The component UID is equivalent toGridComponent.getUid()- Specified by:
getComponentUidin interfaceAlert- Overrides:
getComponentUidin classAbstractAlert- Returns:
- Component UID - the unique identifier of the component associated with the alert.
-
getHostAddress
The host address of the machine that this alert corresponds to.- Returns:
- the host address; may be
null.
-
getHostName
The host name of the machine that this alert corresponds to.- Returns:
- the host name; may be
null.
-
getVirtualMachineUid
The uid of the virtual machine that this alert corresponds to.- Returns:
- the virtual machine uid; may be
null.
-
getInconsistencyReason
The reason why a source (primary Space) could not replicate to a target (Mirror Space). This reason could be failure to persist to a database, a failure to replicate to due memory shortage, failure to connect to target, etc. The failure is given as a full stack trace of the original exception.- Returns:
- the inconsistency reason; may be
null. - See Also:
-
getRootCauseMessage
The last cause message in the reason given bygetInconsistencyReason().- Returns:
- the root cause message; may be
null.
-
getRootCauseTrace
The last cause stack trace in the reason given bygetInconsistencyReason().- Returns:
- the root cause trace; may be
null.
-
getReplicationStatus
Thereplication statusfrom source to target Space.- Returns:
- the replication status; may be
null.
-
getRedoLogSize
The total redo-log size (for all channels) for both memory and swap.- Returns:
- the redo-log size; may be
null.
-
getRedoLogRetainedSize
The redo-log size for replication packets outgoing to the Mirror (both memory and swap).- Returns:
- the redo-log size; may be
null.
-
getFailedOperationCount
The failed operation count reported by the Mirror.- Returns:
- the failed operation count; may be
null.
-
getInProgressOperationCount
The in-progress operation count reported by the Mirror.- Returns:
- the in-progress operation count; may be
null.
-
getDiscardedOperationCount
The discarded operation count reported by the Mirror.- Returns:
- the discarded operation count; may be
null.
-