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 long
getInvocationsCount()
Returns the number of invocations collected since last resetting the statistics.double
getMeanFilterDurationMsec()
Returns the mean filter invocation time in milliseconds since resetting the statistics.void
resetStatistics()
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:FilterProcessorMBean
Returns the number of invocations collected since last resetting the statistics.- Specified by:
getInvocationsCount
in interfaceFilterProcessorMBean
- Returns:
- Get invocation count
- See Also:
FilterProcessorMBean.resetStatistics()
-
getMeanFilterDurationMsec
public double getMeanFilterDurationMsec()
Description copied from interface:FilterProcessorMBean
Returns the mean filter invocation time in milliseconds since resetting the statistics.- Specified by:
getMeanFilterDurationMsec
in interfaceFilterProcessorMBean
- Returns:
- Get mean filter duration
- See Also:
FilterProcessorMBean.resetStatistics()
-
resetStatistics
public void resetStatistics()
Description copied from interface:FilterProcessorMBean
Resets all statistics values and restarts from zero.- Specified by:
resetStatistics
in interfaceFilterProcessorMBean
-
-