Class FilterProcessorMBeanImpl
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.apache.sling.engine.impl.filter.FilterProcessorMBeanImpl
-
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,FilterProcessorMBean
public class FilterProcessorMBeanImpl extends StandardMBean implements FilterProcessorMBean
This is the implementation of the management interface for the FilterProcessorMBean.
-
-
Constructor Summary
Constructors Constructor Description FilterProcessorMBeanImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetInvocationsCount()Returns the number of invocations collected since last resetting the statistics.doublegetMeanFilterDurationMsec()Returns the mean filter invocation time in milliseconds since resetting the statistics.voidresetStatistics()Resets all statistics values and restarts from zero.-
Methods inherited from class javax.management.StandardMBean
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
-
-
-
-
Constructor Detail
-
FilterProcessorMBeanImpl
public FilterProcessorMBeanImpl() throws NotCompliantMBeanException- Throws:
NotCompliantMBeanException
-
-
Method Detail
-
getInvocationsCount
public long getInvocationsCount()
Description copied from interface:FilterProcessorMBeanReturns the number of invocations collected since last resetting the statistics.- Specified by:
getInvocationsCountin interfaceFilterProcessorMBean- Returns:
- Get invocation count
- See Also:
FilterProcessorMBean.resetStatistics()
-
getMeanFilterDurationMsec
public double getMeanFilterDurationMsec()
Description copied from interface:FilterProcessorMBeanReturns the mean filter invocation time in milliseconds since resetting the statistics.- Specified by:
getMeanFilterDurationMsecin interfaceFilterProcessorMBean- Returns:
- Get mean filter duration
- See Also:
FilterProcessorMBean.resetStatistics()
-
resetStatistics
public void resetStatistics()
Description copied from interface:FilterProcessorMBeanResets all statistics values and restarts from zero.- Specified by:
resetStatisticsin interfaceFilterProcessorMBean
-
-