Package org.glassfish.gmbal.impl
Interface TimerAnnotationHelper.ManagedStatsEventHandler
-
- All Superinterfaces:
Named
,org.glassfish.pfl.tf.timer.spi.StatsEventHandler
,TimerAnnotationHelper.ManagedNamed
,TimerAnnotationHelper.ManagedTimerEventHandler
,org.glassfish.pfl.tf.timer.spi.TimerEventHandler
- Enclosing class:
- TimerAnnotationHelper
@ManagedObject @Description("TimerEventHandler that accumulates statistics on events") public static interface TimerAnnotationHelper.ManagedStatsEventHandler extends org.glassfish.pfl.tf.timer.spi.StatsEventHandler, TimerAnnotationHelper.ManagedTimerEventHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
java.util.Map<org.glassfish.pfl.tf.timer.spi.Timer,org.glassfish.pfl.tf.timer.spi.Statistics>
stats()
-
Methods inherited from interface org.glassfish.gmbal.impl.TimerAnnotationHelper.ManagedNamed
factory, name
-
-
-
-
Method Detail
-
stats
@ManagedAttribute @Description("A table giving statistics for each activated Timer that had at least one TimerEvent") java.util.Map<org.glassfish.pfl.tf.timer.spi.Timer,org.glassfish.pfl.tf.timer.spi.Statistics> stats()
- Specified by:
stats
in interfaceorg.glassfish.pfl.tf.timer.spi.StatsEventHandler
-
clear
@ManagedOperation @Description("Discard all statistics on all Timers") void clear()
- Specified by:
clear
in interfaceorg.glassfish.pfl.tf.timer.spi.StatsEventHandler
-
-