public interface StatsEventHandler extends TimerEventHandler
The time is the duration between an enter and an exit call to a timer from the same thread. Recursive calls are matched, and the results accumulated as in any other case.
Modifier and Type | Method and Description |
---|---|
void |
clear()
Discard all accumulated statistics.
|
java.util.Map<Timer,Statistics> |
stats()
Return map that gives the accumulated statistics for each
TimerEvent that has been observed by this event handler since
the last call to clear (or since the creation of this handler,
if clear has not been called).
|
notify
java.util.Map<Timer,Statistics> stats()
void clear()