Package org.glassfish.gmbal.impl
Interface TimerAnnotationHelper.ManagedStatsEventHandler
- All Superinterfaces:
Named
,StatsEventHandler
,TimerAnnotationHelper.ManagedNamed
,TimerAnnotationHelper.ManagedTimerEventHandler
,TimerEventHandler
- Enclosing class:
- TimerAnnotationHelper
@ManagedObject
@Description("TimerEventHandler that accumulates statistics on events")
public static interface TimerAnnotationHelper.ManagedStatsEventHandler
extends StatsEventHandler, TimerAnnotationHelper.ManagedTimerEventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Discard all accumulated 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).Methods inherited from interface org.glassfish.gmbal.impl.TimerAnnotationHelper.ManagedNamed
factory, name
Methods inherited from interface org.glassfish.pfl.tf.timer.spi.TimerEventHandler
notify
-
Method Details
-
stats
@ManagedAttribute @Description("A table giving statistics for each activated Timer that had at least one TimerEvent") Map<Timer,Statistics> stats()Description copied from interface:StatsEventHandler
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).- Specified by:
stats
in interfaceStatsEventHandler
-
clear
Description copied from interface:StatsEventHandler
Discard all accumulated statistics.- Specified by:
clear
in interfaceStatsEventHandler
-