org.nuxeo.ecm.core.event.jmx
Class EventStatsHolder
java.lang.Object
org.nuxeo.ecm.core.event.jmx.EventStatsHolder
public class EventStatsHolder
- extends java.lang.Object
Helper class to store statistics about listeners calls.
- Author:
- Thierry Delprat
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isCollectAsyncHandlersExecTime
public static boolean isCollectAsyncHandlersExecTime()
setCollectAsyncHandlersExecTime
public static void setCollectAsyncHandlersExecTime(boolean collectAsyncHandlersExecTime)
isCollectSyncHandlersExecTime
public static boolean isCollectSyncHandlersExecTime()
setCollectSyncHandlersExecTime
public static void setCollectSyncHandlersExecTime(boolean collectSyncHandlersExecTime)
logAsyncExec
public static void logAsyncExec(EventListenerDescriptor desc,
long delta)
logSyncExec
public static void logSyncExec(EventListenerDescriptor desc,
long delta)
getAsyncHandlersExecTime
public static java.lang.String getAsyncHandlersExecTime()
getSyncHandlersExecTime
public static java.lang.String getSyncHandlersExecTime()
resetHandlersExecTime
public static void resetHandlersExecTime()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.