Class EventStatsHolder
java.lang.Object
org.nuxeo.ecm.core.management.events.EventStatsHolder
Deprecated.
since 11.4: superseded by dropwizard metrics
Helper class to store statistics about listeners calls.
- Author:
- Thierry Delprat
-
Field Summary
Modifier and TypeFieldDescriptionDeprecated.protected static boolean
Deprecated.protected static boolean
Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.Deprecated.static String
Deprecated.protected static String
getStringSummary
(Map<String, CallStat> stats) Deprecated.Deprecated.static String
Deprecated.static boolean
Deprecated.static boolean
Deprecated.static void
logAsyncExec
(EventListenerDescriptor desc, long delta) Deprecated.static void
logSyncExec
(EventListenerDescriptor desc, long delta) Deprecated.static void
Deprecated.static void
setCollectAsyncHandlersExecTime
(boolean collectAsyncHandlersExecTime) Deprecated.static void
setCollectSyncHandlersExecTime
(boolean collectSyncHandlersExecTime) Deprecated.
-
Field Details
-
collectAsyncHandlersExecTime
protected static boolean collectAsyncHandlersExecTimeDeprecated. -
collectSyncHandlersExecTime
protected static boolean collectSyncHandlersExecTimeDeprecated. -
syncStats
Deprecated. -
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
Deprecated. -
logSyncExec
Deprecated. -
getAsyncHandlersExecTime
Deprecated. -
getAsyncHandlersCallStats
Deprecated.- Since:
- 5.6
-
getSyncHandlersExecTime
Deprecated. -
getSyncHandlersCallStats
Deprecated.- Since:
- 5.6
-
getStringSummary
Deprecated. -
resetHandlersExecTime
public static void resetHandlersExecTime()Deprecated.
-