Package org.apache.sling.engine.jmx
Interface RequestProcessorMBean
@ProviderType
public interface RequestProcessorMBean
This is the management interface for the SlingRequestProcessor.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the maximum peak recursive execution depth since last resetting the statistics.longReturns the time in milliseconds used by the longest request since last resetting the statistics.intReturns the maximum servlet call count since last resetting the statistics.doubleReturns the mean peak recursive execution depth since last resetting the statistics.doubleReturns the mean request processing time in milliseconds since resetting the statistics.doubleReturns the mean servlet call count since last resetting the statistics.intReturns the minimal peak recursive execution depth since last resetting the statistics.longReturns the time in milliseconds used by the shortest request since last resetting the statistics.intReturns the minimum servlet call count since last resetting the statistics.longReturns the number of requests collected since last resetting the statistics.doubleReturns the standard deviation of requests since resetting the statistics.doubleReturns the standard deviation of peak recursive execution depth since last resetting the statistics.doubleReturns the standard deviation servlet call counts since last resetting the statistics.voidResets all statistics values and restarts from zero.
-
Method Details
-
getRequestsCount
long getRequestsCount()Returns the number of requests collected since last resetting the statistics.- Returns:
- Number of requests
- See Also:
-
getMaxRequestDurationMsec
long getMaxRequestDurationMsec()Returns the time in milliseconds used by the longest request since last resetting the statistics.- Returns:
- Max request duration
- See Also:
-
getMinRequestDurationMsec
long getMinRequestDurationMsec()Returns the time in milliseconds used by the shortest request since last resetting the statistics.- Returns:
- Min request duration
- See Also:
-
getMeanRequestDurationMsec
double getMeanRequestDurationMsec()Returns the mean request processing time in milliseconds since resetting the statistics.- Returns:
- Mean request duration
- See Also:
-
getStandardDeviationDurationMsec
double getStandardDeviationDurationMsec()Returns the standard deviation of requests since resetting the statistics. If zero or one requests have been collected only, this method returns zero.- Returns:
- Standard deviation
- See Also:
-
getMaxPeakRecursionDepth
int getMaxPeakRecursionDepth()Returns the maximum peak recursive execution depth since last resetting the statistics.- Returns:
- Max peak recursion depth
- See Also:
-
getMinPeakRecursionDepth
int getMinPeakRecursionDepth()Returns the minimal peak recursive execution depth since last resetting the statistics.- Returns:
- Min peak recursion depth
- See Also:
-
getMeanPeakRecursionDepth
double getMeanPeakRecursionDepth()Returns the mean peak recursive execution depth since last resetting the statistics.- Returns:
- Mean peak recursion depth
- See Also:
-
getStandardDeviationPeakRecursionDepth
double getStandardDeviationPeakRecursionDepth()Returns the standard deviation of peak recursive execution depth since last resetting the statistics.- Returns:
- Standard deviation of peak recursion depth
- See Also:
-
getMaxServletCallCount
int getMaxServletCallCount()Returns the maximum servlet call count since last resetting the statistics.- Returns:
- Max servlet count call
- See Also:
-
getMinServletCallCount
int getMinServletCallCount()Returns the minimum servlet call count since last resetting the statistics.- Returns:
- Min servlet count call
- See Also:
-
getMeanServletCallCount
double getMeanServletCallCount()Returns the mean servlet call count since last resetting the statistics.- Returns:
- Mean servlet count call
- See Also:
-
getStandardDeviationServletCallCount
double getStandardDeviationServletCallCount()Returns the standard deviation servlet call counts since last resetting the statistics.- Returns:
- Mean standard deviation for servlet count call
- See Also:
-
resetStatistics
void resetStatistics()Resets all statistics values and restarts from zero.
-