GigaSpaces XAP 9.7.2 API

org.openspaces.admin.alert.config
Class ReplicationChannelDisconnectedAlertConfigurer

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

public class ReplicationChannelDisconnectedAlertConfigurer
extends Object
implements AlertConfigurer

A replication channel disconnection alert configurer. The alert is raised if a replication channel connection between a source (primary) and it's target (backup/mirror) has been disconnected. The alert is resolved once the connection is re-established.

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

Since:
8.0
Author:
Moran Avigdor
See Also:
ReplicationChannelDisconnectedAlertConfiguration

Constructor Summary
ReplicationChannelDisconnectedAlertConfigurer()
          Constructs an empty replication channel disconnection alert configuration.
 
Method Summary
 ReplicationChannelDisconnectedAlertConfiguration create()
          Get a fully configured replication channel disconnection configuration (after all properties have been set).
 ReplicationChannelDisconnectedAlertConfigurer 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

ReplicationChannelDisconnectedAlertConfigurer

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

Method Detail

enable

public ReplicationChannelDisconnectedAlertConfigurer 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 ReplicationChannelDisconnectedAlertConfiguration 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 9.7.2 API

Copyright © GigaSpaces.