public class HeapMemoryUtilizationAlertConfigurer extends Object implements AlertConfigurer
 Use the call to create() to create a fully
 initialized HeapMemoryUtilizationAlertConfiguration configuration.
HeapMemoryUtilizationAlertConfiguration| Constructor and Description | 
|---|
HeapMemoryUtilizationAlertConfigurer()
Constructs an empty heap memory utilization alert configuration. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
HeapMemoryUtilizationAlertConfiguration | 
create()
Get a fully configured heap memory utilization configuration (after all properties have been
 set). 
 | 
HeapMemoryUtilizationAlertConfigurer | 
enable(boolean enabled)
Enable an alert using this configuration. 
 | 
HeapMemoryUtilizationAlertConfigurer | 
measurementPeriod(long period,
                 TimeUnit timeUnit)
Set the period of time a heap memory alert should be triggered if it's reading is above/below
 the threshold setting. 
 | 
HeapMemoryUtilizationAlertConfigurer | 
raiseAlertIfHeapAbove(int highThreshold)
Raise an alert if heap utilization if above the specified threshold for a period of time. 
 | 
HeapMemoryUtilizationAlertConfigurer | 
resolveAlertIfHeapBelow(int lowThreshold)
Resolve the previously raised alert if heap utilization goes below the specified threshold
 for a period of time. 
 | 
public HeapMemoryUtilizationAlertConfigurer()
public HeapMemoryUtilizationAlertConfigurer enable(boolean enabled)
AlertConfigurerenable in interface AlertConfigurerenabled - true to enable the alert using this configuration;
                false to disable the alert.AlertConfiguration.setEnabled(boolean)public HeapMemoryUtilizationAlertConfigurer raiseAlertIfHeapAbove(int highThreshold)
measurementPeriod(long, TimeUnit).highThreshold - high threshold percentage.HeapMemoryUtilizationAlertConfiguration.setHighThresholdPerc(int)public HeapMemoryUtilizationAlertConfigurer resolveAlertIfHeapBelow(int lowThreshold)
measurementPeriod(long,
 TimeUnit).lowThreshold - low threshold percentage.HeapMemoryUtilizationAlertConfiguration.setLowThresholdPerc(int)public HeapMemoryUtilizationAlertConfigurer measurementPeriod(long period, TimeUnit timeUnit)
period - period of time.timeUnit - the time unit of the specified period.public HeapMemoryUtilizationAlertConfiguration create()
create in interface BeanConfigurer<AlertConfiguration>Copyright © GigaSpaces.