Class FilterProcessorMBeanImpl
java.lang.Object
javax.management.StandardMBean
org.apache.sling.engine.impl.filter.FilterProcessorMBeanImpl
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,FilterProcessorMBean
This is the implementation of the management interface for the
FilterProcessorMBean.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the number of invocations collected since last resetting the statistics.doubleReturns the mean filter invocation time in milliseconds since resetting the statistics.voidResets 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 Details
-
FilterProcessorMBeanImpl
- Throws:
NotCompliantMBeanException
-
-
Method Details
-
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:
-
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:
-
resetStatistics
public void resetStatistics()Description copied from interface:FilterProcessorMBeanResets all statistics values and restarts from zero.- Specified by:
resetStatisticsin interfaceFilterProcessorMBean
-