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 metricsHelper class to store statistics about listeners calls.- Author:
- Thierry Delprat
-
-
Field Summary
Fields Modifier and Type Field Description protected static Map<String,CallStat>
aSyncStats
Deprecated.protected static boolean
collectAsyncHandlersExecTime
Deprecated.protected static boolean
collectSyncHandlersExecTime
Deprecated.protected static Map<String,CallStat>
syncStats
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
clearStats()
Deprecated.static Map<String,CallStat>
getAsyncHandlersCallStats()
Deprecated.static String
getAsyncHandlersExecTime()
Deprecated.protected static String
getStringSummary(Map<String,CallStat> stats)
Deprecated.static Map<String,CallStat>
getSyncHandlersCallStats()
Deprecated.static String
getSyncHandlersExecTime()
Deprecated.static boolean
isCollectAsyncHandlersExecTime()
Deprecated.static boolean
isCollectSyncHandlersExecTime()
Deprecated.static void
logAsyncExec(EventListenerDescriptor desc, long delta)
Deprecated.static void
logSyncExec(EventListenerDescriptor desc, long delta)
Deprecated.static void
resetHandlersExecTime()
Deprecated.static void
setCollectAsyncHandlersExecTime(boolean collectAsyncHandlersExecTime)
Deprecated.static void
setCollectSyncHandlersExecTime(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
-
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
-
resetHandlersExecTime
public static void resetHandlersExecTime()
Deprecated.
-
-