| java.lang.Object org.opencms.monitor.CmsMemoryMonitorConfiguration
CmsMemoryMonitorConfiguration | public class CmsMemoryMonitorConfiguration (Code) | | Memory Monitor configuration class.
author: Armen Markarian version: $Revision: 1.9 $ since: 6.0.0 |
CmsMemoryMonitorConfiguration | public CmsMemoryMonitorConfiguration()(Code) | | Constructor with default values.
|
addEmailReceiver | public void addEmailReceiver(String emailReceiver)(Code) | | Sets the emailReceiver.
Parameters: emailReceiver - the emailReceiver to set |
getClassName | public String getClassName()(Code) | | Returns the name of the memory monitor class.
the name of the memory monitor class |
getEmailInterval | public int getEmailInterval()(Code) | | Returns the intervalEmail.
the intervalEmail |
getEmailReceiver | public List getEmailReceiver()(Code) | | Returns a List of receiver.
a List of receiver |
getEmailSender | public String getEmailSender()(Code) | | Returns the emailSender.
the emailSender |
getLogInterval | public int getLogInterval()(Code) | | Returns the intervalLog.
the intervalLog |
getMaxUsagePercent | public int getMaxUsagePercent()(Code) | | Returns the maxUsagePercent.
the maxUsagePercent |
getWarningInterval | public int getWarningInterval()(Code) | | Returns the intervalWarning.
the intervalWarning |
initialize | public void initialize(String className, String maxUsagePercent, String logInterval, String emailInterval, String warningInterval)(Code) | | Initializes the configuration with the required parameters.
Parameters: className - the name of the memory monitor class Parameters: maxUsagePercent - the max usage percent value Parameters: logInterval - the interval to log Parameters: emailInterval - the interval to send email Parameters: warningInterval - the interval to warn |
setEmailSender | public void setEmailSender(String emailSender)(Code) | | Sets the emailSender.
Parameters: emailSender - the emailSender to set |
|
|