public class SpacePartitionSplitBrainAlertConfigurer extends Object implements AlertConfigurer
Use the call to create()
to create a fully initialized
SpacePartitionSplitBrainAlertConfiguration
configuration.
SpacePartitionSplitBrainAlertConfiguration
Constructor and Description |
---|
SpacePartitionSplitBrainAlertConfigurer()
Constructs an empty alert configuration.
|
Modifier and Type | Method and Description |
---|---|
AlertConfiguration |
create()
Get a fully configured space partition split-brain alert configuration (after all properties have been set).
|
SpacePartitionSplitBrainAlertConfigurer |
enable(boolean enabled)
Enable an alert using this configuration.
|
public SpacePartitionSplitBrainAlertConfigurer()
public SpacePartitionSplitBrainAlertConfigurer enable(boolean enabled)
AlertConfigurer
enable
in interface AlertConfigurer
enabled
- true
to enable the alert using this configuration; false
to disable the alert.AlertConfiguration.setEnabled(boolean)
public AlertConfiguration create()
create
in interface BeanConfigurer<AlertConfiguration>
Copyright © GigaSpaces.