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 TypeMethodDescriptionvoidclear()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, nameMethods 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:StatsEventHandlerReturn 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:
statsin interfaceStatsEventHandler
-
clear
Description copied from interface:StatsEventHandlerDiscard all accumulated statistics.- Specified by:
clearin interfaceStatsEventHandler
-