public final class MatcherManagement extends StandardMBean implements MatcherManagementMBean
Constructor and Description |
---|
MatcherManagement(org.apache.mailet.MatcherConfig matcherConfig) |
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
|
long |
getMatchedCount()
Return the count of how many times the Matcher matched
|
String |
getMatcherCondition()
Return the matcher condition
|
String |
getMatcherName()
Return the name of the Matcher
|
long |
getNotMatchedCount()
Return the count of how many times the Matcher not matches
|
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,
boolean matched) |
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, setImplementation
public MatcherManagement(org.apache.mailet.MatcherConfig matcherConfig) throws NotCompliantMBeanException
NotCompliantMBeanException
public void update(long processTime, boolean success, boolean matched)
public String getMatcherName()
MatcherManagementMBean
getMatcherName
in interface MatcherManagementMBean
MatcherManagementMBean.getMatcherName()
public String getMatcherCondition()
MatcherManagementMBean
getMatcherCondition
in interface MatcherManagementMBean
MatcherManagementMBean.getMatcherCondition()
public long getErrorCount()
MailProcessorManagementMBean
getErrorCount
in interface MailProcessorManagementMBean
MailProcessorManagementMBean.getErrorCount()
public long getFastestProcessing()
MailProcessorManagementMBean
getFastestProcessing
in interface MailProcessorManagementMBean
MailProcessorManagementMBean.getFastestProcessing()
public long getHandledMailCount()
MailProcessorManagementMBean
getHandledMailCount
in interface MailProcessorManagementMBean
MailProcessorManagementMBean.getHandledMailCount()
public long getSlowestProcessing()
MailProcessorManagementMBean
getSlowestProcessing
in interface MailProcessorManagementMBean
MailProcessorManagementMBean.getSlowestProcessing()
public long getSuccessCount()
MailProcessorManagementMBean
getSuccessCount
in interface MailProcessorManagementMBean
MailProcessorManagementMBean.getSuccessCount()
public long getMatchedCount()
MatcherManagementMBean
getMatchedCount
in interface MatcherManagementMBean
MatcherManagementMBean.getMatchedCount()
public long getNotMatchedCount()
MatcherManagementMBean
getNotMatchedCount
in interface MatcherManagementMBean
MatcherManagementMBean.getNotMatchedCount()
public long getLastProcessing()
MailProcessorManagementMBean
getLastProcessing
in interface MailProcessorManagementMBean
MailProcessorManagementMBean.getLastProcessing()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.