GigaSpaces XAP 9.1 API

org.openspaces.admin.alert.config
Class ProcessingUnitInstanceMemberAliveIndicatorAlertConfigurer

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

public class ProcessingUnitInstanceMemberAliveIndicatorAlertConfigurer
extends Object
implements AlertConfigurer

A processing unit instance fault-detection configurer. An alert is raised if the fault-detection mechanism has detected failure of a processing unit instance. An alert is resolved if the fault-detection mechanism succeeded to monitor a suspected processing unit instance.

note: The member alive fault-detection mechanism (retries and timeout) should be configured separately in the pu.xml (see os-sla:member-alive-indicator)

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

Since:
8.0.6
Author:
Moran Avigdor
See Also:
ProcessingUnitInstanceMemberAliveIndicatorAlertConfiguration

Constructor Summary
ProcessingUnitInstanceMemberAliveIndicatorAlertConfigurer()
          Constructs an empty provision failure alert configuration.
 
Method Summary
 AlertConfiguration create()
          Get a fully configured fault-detection alert configuration (after all properties have been set).
 ProcessingUnitInstanceMemberAliveIndicatorAlertConfigurer 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

ProcessingUnitInstanceMemberAliveIndicatorAlertConfigurer

public ProcessingUnitInstanceMemberAliveIndicatorAlertConfigurer()
Constructs an empty provision failure alert configuration.

Method Detail

enable

public ProcessingUnitInstanceMemberAliveIndicatorAlertConfigurer 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 AlertConfiguration create()
Get a fully configured fault-detection alert configuration (after all properties have been set).

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

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.