GigaSpaces XAP 10.0.1 API

org.openspaces.admin.alert.config
Class MirrorPersistenceFailureAlertConfigurer

java.lang.Object
  extended by org.openspaces.admin.alert.config.MirrorPersistenceFailureAlertConfigurer
All Implemented Interfaces:
AlertConfigurer, BeanConfigurer<AlertConfiguration>

public class MirrorPersistenceFailureAlertConfigurer
extends Object
implements AlertConfigurer

A Mirror persistence failure alert configurer. The alert is raised if the Mirror failed to persist to the DB. The alert is resolved when the Mirror manages to persist to the DB for the first time after the alert has been triggered.

Use the call to create() to create a fully initialized MirrorPersistenceFailureAlertConfiguration configuration.

Since:
8.0
Author:
Moran Avigdor
See Also:
MirrorPersistenceFailureAlertConfiguration

Constructor Summary
MirrorPersistenceFailureAlertConfigurer()
          Constructs an empty replication channel disconnection alert configuration.
 
Method Summary
 MirrorPersistenceFailureAlertConfiguration create()
          Get a fully configured replication channel disconnection configuration (after all properties have been set).
 MirrorPersistenceFailureAlertConfigurer enable(boolean enabled)
          Enable an alert using this configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MirrorPersistenceFailureAlertConfigurer

public MirrorPersistenceFailureAlertConfigurer()
Constructs an empty replication channel disconnection alert configuration.

Method Detail

enable

public MirrorPersistenceFailureAlertConfigurer enable(boolean enabled)
Description copied from interface: AlertConfigurer
Enable an alert using this configuration. By default an alert is disabled.

Specified by:
enable in interface AlertConfigurer
Parameters:
enabled - true to enable the alert using this configuration; false to disable the alert.
Returns:
this.
See Also:
AlertConfiguration.setEnabled(boolean)

create

public MirrorPersistenceFailureAlertConfiguration create()
Get a fully configured replication channel disconnection configuration (after all properties have been set).

Specified by:
create in interface BeanConfigurer<AlertConfiguration>
Returns:
a fully configured alert bean configuration.

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.