public class EventStatsHolder extends Object
Modifier and Type | Method and Description |
---|---|
static void |
clearStats() |
static Map<String,CallStat> |
getAsyncHandlersCallStats() |
static String |
getAsyncHandlersExecTime() |
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) |
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 String getSyncHandlersExecTime()
public static void resetHandlersExecTime()
Copyright © 2015 Nuxeo SA. All rights reserved.