Class EventStatsHolder

java.lang.Object
org.nuxeo.ecm.core.management.events.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 Details

    • collectAsyncHandlersExecTime

      protected static boolean collectAsyncHandlersExecTime
      Deprecated.
    • collectSyncHandlersExecTime

      protected static boolean collectSyncHandlersExecTime
      Deprecated.
    • syncStats

      protected static Map<String,CallStat> syncStats
      Deprecated.
    • aSyncStats

      protected static Map<String,CallStat> aSyncStats
      Deprecated.
  • Method Details

    • 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
    • logAsyncExec

      public static void logAsyncExec(EventListenerDescriptor desc, long delta)
      Deprecated.
    • logSyncExec

      public static void logSyncExec(EventListenerDescriptor desc, long delta)
      Deprecated.
    • 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
    • getStringSummary

      protected static String getStringSummary(Map<String,CallStat> stats)
      Deprecated.
    • resetHandlersExecTime

      public static void resetHandlersExecTime()
      Deprecated.