|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.admin.alert.config.ReplicationRedoLogSizeAlertConfiguration
public class ReplicationRedoLogSizeAlertConfiguration
A replication redo log size alert configuration. Specifies the thresholds for triggering an alert. There are two thresholds, high and low. The redo log size alert is raised if the number of packets in the redo log is above the specified high threshold. The redo log size alert is resolved if the number of packets in the redo log goes below the specified low threshold.
ReplicationRedoLogSizeAlertConfigurer
Field Summary | |
---|---|
static String |
HIGH_THRESHOLD_REDO_LOG_SIZE_KEY
High threshold for redo-log size. |
static String |
LOW_THRESHOLD_REDO_LOG_SIZE_KEY
Low threshold for redo-log size. |
Constructor Summary | |
---|---|
ReplicationRedoLogSizeAlertConfiguration()
Constructs an empty configuration. |
Method Summary | |
---|---|
String |
getBeanClassName()
The Bean implementation class name corresponding to this BeanConfig. |
Integer |
getHighThresholdRedoLogSize()
|
Integer |
getLowThresholdRedoLogSize()
|
Map<String,String> |
getProperties()
Get the String key-value pairs properties used to configure this bean. |
boolean |
isEnabled()
|
void |
setEnabled(boolean enabled)
|
void |
setHighThresholdRedoLogSize(int highThreshold)
Set the high threshold redo-log size value - the number of packets in the redo log. |
void |
setLowThresholdRedoLogSize(int lowThreshold)
Set the low threshold redo-log size value. |
void |
setProperties(Map<String,String> properties)
Set with String key-value pairs to configure properties belonging to this bean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String HIGH_THRESHOLD_REDO_LOG_SIZE_KEY
public static final String LOW_THRESHOLD_REDO_LOG_SIZE_KEY
Constructor Detail |
---|
public ReplicationRedoLogSizeAlertConfiguration()
Method Detail |
---|
public void setHighThresholdRedoLogSize(int highThreshold)
highThreshold
- high threshold redo-log size.public Integer getHighThresholdRedoLogSize()
public void setLowThresholdRedoLogSize(int lowThreshold)
lowThreshold
- low threshold redo-log size.public Integer getLowThresholdRedoLogSize()
public void setProperties(Map<String,String> properties)
setProperties
in interface BeanConfig
properties
- the properties to configure this bean object.public Map<String,String> getProperties()
getProperties
in interface BeanConfig
public String getBeanClassName()
Bean
implementation class name corresponding to this BeanConfig.
getBeanClassName
in interface BeanConfig
public boolean isEnabled()
isEnabled
in interface AlertConfiguration
true
if this alert is enabled; false
if this alert is
currently disabled.public void setEnabled(boolean enabled)
setEnabled
in interface AlertConfiguration
enabled
- true
if this alert should be enabled; false
if this
alert should be disabled.
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |