public class EventStatsHolder extends Object
Modifier and Type | Field and Description |
---|---|
protected static Map<String,CallStat> |
aSyncStats |
protected static boolean |
collectAsyncHandlersExecTime |
protected static boolean |
collectSyncHandlersExecTime |
protected static Map<String,CallStat> |
syncStats |
Modifier and Type | Method and Description |
---|---|
static void |
clearStats() |
static Map<String,CallStat> |
getAsyncHandlersCallStats() |
static String |
getAsyncHandlersExecTime() |
protected static String |
getStringSummary(Map<String,CallStat> stats) |
static Map<String,CallStat> |
getSyncHandlersCallStats() |
static String |
getSyncHandlersExecTime() |
static boolean |
isCollectAsyncHandlersExecTime() |
static boolean |
isCollectSyncHandlersExecTime() |
static void |
logAsyncExec(EventListenerDescriptor desc,
long delta) |
static void |
logSyncExec(EventListenerDescriptor desc,
long delta) |
static void |
resetHandlersExecTime() |
static void |
setCollectAsyncHandlersExecTime(boolean collectAsyncHandlersExecTime) |
static void |
setCollectSyncHandlersExecTime(boolean collectSyncHandlersExecTime) |
protected static boolean collectAsyncHandlersExecTime
protected static boolean collectSyncHandlersExecTime
protected static Map<String,CallStat> aSyncStats
public static boolean isCollectAsyncHandlersExecTime()
public static void setCollectAsyncHandlersExecTime(boolean collectAsyncHandlersExecTime)
public static boolean isCollectSyncHandlersExecTime()
public static void setCollectSyncHandlersExecTime(boolean collectSyncHandlersExecTime)
public static void clearStats()
public static void logAsyncExec(EventListenerDescriptor desc, long delta)
public static void logSyncExec(EventListenerDescriptor desc, long delta)
public static String getAsyncHandlersExecTime()
public static Map<String,CallStat> getAsyncHandlersCallStats()
public static String getSyncHandlersExecTime()
public static Map<String,CallStat> getSyncHandlersCallStats()
protected static String getStringSummary(Map<String,CallStat> stats)
public static void resetHandlersExecTime()
Copyright © 2015 Nuxeo SA. All rights reserved.