Class EventStatsHolder


  • @Deprecated(since="11.4")
    public class EventStatsHolder
    extends Object
    Deprecated.
    since 11.4: superseded by dropwizard metrics
    Helper class to store statistics about listeners calls.
    Author:
    Thierry Delprat
    • Field Detail

      • collectAsyncHandlersExecTime

        protected static boolean collectAsyncHandlersExecTime
        Deprecated.
      • collectSyncHandlersExecTime

        protected static boolean collectSyncHandlersExecTime
        Deprecated.
    • Method Detail

      • isCollectAsyncHandlersExecTime

        public static boolean isCollectAsyncHandlersExecTime()
        Deprecated.
      • setCollectAsyncHandlersExecTime

        public static void setCollectAsyncHandlersExecTime​(boolean collectAsyncHandlersExecTime)
        Deprecated.
      • isCollectSyncHandlersExecTime

        public static boolean isCollectSyncHandlersExecTime()
        Deprecated.
      • setCollectSyncHandlersExecTime

        public static void setCollectSyncHandlersExecTime​(boolean collectSyncHandlersExecTime)
        Deprecated.
      • clearStats

        public static void clearStats()
        Deprecated.
        Since:
        5.6
      • getAsyncHandlersExecTime

        public static String getAsyncHandlersExecTime()
        Deprecated.
      • getAsyncHandlersCallStats

        public static Map<String,​CallStat> getAsyncHandlersCallStats()
        Deprecated.
        Since:
        5.6
      • getSyncHandlersExecTime

        public static String getSyncHandlersExecTime()
        Deprecated.
      • getSyncHandlersCallStats

        public static Map<String,​CallStat> getSyncHandlersCallStats()
        Deprecated.
        Since:
        5.6
      • resetHandlersExecTime

        public static void resetHandlersExecTime()
        Deprecated.