Class MacroViewAnalyticsStorage
java.lang.Object
com.atlassian.confluence.impl.threadlimiter.analyticsservice.MacroViewAnalyticsStorage
Class responsible for storing information about macro views (for thread limiter analytics service).
- Since:
- 9.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a map where keys are macro names and the values is the durations of the macros.
-
Constructor Details
-
MacroViewAnalyticsStorage
public MacroViewAnalyticsStorage() -
MacroViewAnalyticsStorage
-
-
Method Details
-
getNumberBusyOfThreadsPerMacro
- Returns:
- a map where keys are macro names and the values are the numbers of threads
- Throws:
InterruptedException
-
extractAverageDurationsPerMacroAndClear
Returns a map where keys are macro names and the values is the durations of the macros. Note that the statistics about durations is cleared out.- Throws:
InterruptedException
-