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 TypeMethodDescriptionlong
Returns the number of invocations collected since last resetting the statistics.double
Returns the mean filter invocation time in milliseconds since resetting the statistics.void
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 Details
-
FilterProcessorMBeanImpl
- Throws:
NotCompliantMBeanException
-
-
Method Details
-
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:
-
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:
-
resetStatistics
public void resetStatistics()Description copied from interface:FilterProcessorMBean
Resets all statistics values and restarts from zero.- Specified by:
resetStatistics
in interfaceFilterProcessorMBean
-