public final class MailetManagement extends StandardMBean implements MailetManagementMBean
| Constructor and Description |
|---|
MailetManagement(org.apache.mailet.MailetConfig config) |
| Modifier and Type | Method and Description |
|---|---|
long |
getErrorCount()
Return the count of how many times an error was detected while processing
|
long |
getFastestProcessing()
Return the time in ms of the fastest processing
|
long |
getHandledMailCount()
Return the count of handled mail
|
long |
getLastProcessing()
Return the time in ms of the last processing
|
String |
getMailetName()
Return the name of the mailet
|
String[] |
getMailetParameters()
Return the parameters which are configured for the mailet
|
long |
getSlowestProcessing()
Return the time in ms of the slowest processing
|
long |
getSuccessCount()
Return the count of how many time the processing was done without and
error
|
void |
update(long processTime,
boolean success) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic MailetManagement(org.apache.mailet.MailetConfig config)
throws NotCompliantMBeanException
NotCompliantMBeanExceptionpublic void update(long processTime,
boolean success)
public String getMailetName()
MailetManagementMBeangetMailetName in interface MailetManagementMBeanMailetManagementMBean.getMailetName()public String[] getMailetParameters()
MailetManagementMBeangetMailetParameters in interface MailetManagementMBeanMailetManagementMBean.getMailetParameters()public long getErrorCount()
MailProcessorManagementMBeangetErrorCount in interface MailProcessorManagementMBeanMailProcessorManagementMBean.getErrorCount()public long getFastestProcessing()
MailProcessorManagementMBeangetFastestProcessing in interface MailProcessorManagementMBeanMailProcessorManagementMBean.getFastestProcessing()public long getHandledMailCount()
MailProcessorManagementMBeangetHandledMailCount in interface MailProcessorManagementMBeanMailProcessorManagementMBean.getHandledMailCount()public long getSlowestProcessing()
MailProcessorManagementMBeangetSlowestProcessing in interface MailProcessorManagementMBeanMailProcessorManagementMBean.getSlowestProcessing()public long getSuccessCount()
MailProcessorManagementMBeangetSuccessCount in interface MailProcessorManagementMBeanMailProcessorManagementMBean.getSuccessCount()public long getLastProcessing()
MailProcessorManagementMBeangetLastProcessing in interface MailProcessorManagementMBeanMailProcessorManagementMBean.getLastProcessing()Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.