Class MacroViewAnalyticsStorage


  • public class MacroViewAnalyticsStorage
    extends Object
    Class responsible for storing information about macro views (for thread limiter analytics service).
    Since:
    9.3
    • Constructor Detail

      • MacroViewAnalyticsStorage

        public MacroViewAnalyticsStorage()
      • MacroViewAnalyticsStorage

        public MacroViewAnalyticsStorage​(Supplier<Long> timeSupplier)
    • Method Detail

      • extractAverageDurationsPerMacroAndClear

        public Map<String,​Long> extractAverageDurationsPerMacroAndClear()
                                                                       throws InterruptedException
        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