|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openspaces.admin.alert.config.PhysicalMemoryUtilizationAlertConfiguration
public class PhysicalMemoryUtilizationAlertConfiguration
A physical memory utilization alert configuration. Specifies the thresholds for triggering an alert. There are two thresholds, high and low and a measurement period indicating a window for the memory reading. The memory utilization alert is raised if any discovered machine is above the specified physical memory threshold for a period of time. The memory utilization alert is resolved if its physical memory reading goes below the specified memory threshold for a period of time.
PhysicalMemoryUtilizationAlertConfigurer
Field Summary | |
---|---|
static String |
HIGH_THRESHOLD_PERC_KEY
High threshold for which to trigger an alert which needs resolution. |
static String |
LOW_THRESHOLD_PERC_KEY
Low threshold for which to resolve a previously triggered physical memory alert. |
static String |
MEASUREMENT_PERIOD_MILLISECONDS_KEY
Period of time (in milliseconds) the physical memory is above/below a certain threshold to trigger an alert. |
Constructor Summary | |
---|---|
PhysicalMemoryUtilizationAlertConfiguration()
Constructs an empty physical memory utilization alert configuration. |
Method Summary | |
---|---|
String |
getBeanClassName()
The Bean implementation class name corresponding to this BeanConfig. |
Integer |
getHighThresholdPerc()
|
Integer |
getLowThresholdPerc()
|
Long |
getMeasurementPeriod()
|
Map<String,String> |
getProperties()
Get the String key-value pairs properties used to configure this bean. |
boolean |
isEnabled()
|
void |
setEnabled(boolean enabled)
|
void |
setHighThresholdPerc(int highThreshold)
Set the physical memory high threshold percentage value. |
void |
setLowThresholdPerc(int lowThreshold)
Set the physical memory low threshold percentage value. |
void |
setMeasurementPeriod(long period,
TimeUnit timeUnit)
Set the period of time a physical memory alert should be triggered if it's reading is above/below the threshold setting. |
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 MEASUREMENT_PERIOD_MILLISECONDS_KEY
public static final String LOW_THRESHOLD_PERC_KEY
public static final String HIGH_THRESHOLD_PERC_KEY
Constructor Detail |
---|
public PhysicalMemoryUtilizationAlertConfiguration()
Method Detail |
---|
public void setHighThresholdPerc(int highThreshold)
highThreshold
- high threshold percentage.public Integer getHighThresholdPerc()
public void setLowThresholdPerc(int lowThreshold)
lowThreshold
- low threshold percentage.public Integer getLowThresholdPerc()
public void setMeasurementPeriod(long period, TimeUnit timeUnit)
period
- period of time.timeUnit
- the time unit of the specified period.public Long getMeasurementPeriod()
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 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |