Class SearchRequestsAnalyticsStorage
java.lang.Object
com.atlassian.confluence.impl.threadlimiter.analyticsservice.SearchRequestsAnalyticsStorage
Class responsible for storing information about search requests (for thread limiter analytics service).
- Since:
- 9.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.confluence.impl.threadlimiter.analyticsservice.AverageTimeInfo
Returns an average duration.
-
Constructor Details
-
SearchRequestsAnalyticsStorage
public SearchRequestsAnalyticsStorage() -
SearchRequestsAnalyticsStorage
-
-
Method Details
-
getNumberOfBusyThreads
- Returns:
- a map where keys are macro names and the values are the numbers of threads
- Throws:
InterruptedException
-
extractAverageDurationAndClear
public com.atlassian.confluence.impl.threadlimiter.analyticsservice.AverageTimeInfo extractAverageDurationAndClear() throws InterruptedExceptionReturns an average duration. Note that the statistics about the duration is cleared out.- Throws:
InterruptedException
-