|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.monitor.CmsMemoryMonitorConfiguration
public class CmsMemoryMonitorConfiguration
Memory Monitor configuration class.
| Constructor Summary | |
|---|---|
CmsMemoryMonitorConfiguration()
Constructor with default values. |
|
| Method Summary | |
|---|---|
void |
addEmailReceiver(java.lang.String emailReceiver)
Sets the emailReceiver. |
java.lang.String |
getClassName()
Returns the name of the memory monitor class. |
int |
getEmailInterval()
Returns the intervalEmail. |
java.util.List<java.lang.String> |
getEmailReceiver()
Returns a List of receiver. |
java.lang.String |
getEmailSender()
Returns the emailSender. |
int |
getLogInterval()
Returns the intervalLog. |
int |
getMaxUsagePercent()
Returns the maxUsagePercent. |
int |
getWarningInterval()
Returns the intervalWarning. |
void |
initialize(java.lang.String className,
java.lang.String maxUsagePercent,
java.lang.String logInterval,
java.lang.String emailInterval,
java.lang.String warningInterval)
Initializes the configuration with the required parameters. |
void |
setEmailSender(java.lang.String emailSender)
Sets the emailSender. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsMemoryMonitorConfiguration()
| Method Detail |
|---|
public void addEmailReceiver(java.lang.String emailReceiver)
emailReceiver - the emailReceiver to setpublic java.lang.String getClassName()
public int getEmailInterval()
public java.util.List<java.lang.String> getEmailReceiver()
public java.lang.String getEmailSender()
public int getLogInterval()
public int getMaxUsagePercent()
public int getWarningInterval()
public void initialize(java.lang.String className,
java.lang.String maxUsagePercent,
java.lang.String logInterval,
java.lang.String emailInterval,
java.lang.String warningInterval)
className - the name of the memory monitor classmaxUsagePercent - the max usage percent valuelogInterval - the interval to logemailInterval - the interval to send emailwarningInterval - the interval to warnpublic void setEmailSender(java.lang.String emailSender)
emailSender - the emailSender to set
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||