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

    Modifier and Type
    Method
    Description
    void
     
    Map<org.glassfish.pfl.tf.timer.spi.Timer,org.glassfish.pfl.tf.timer.spi.Statistics>
     

    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<org.glassfish.pfl.tf.timer.spi.Timer,org.glassfish.pfl.tf.timer.spi.Statistics> stats()
      Specified by:
      stats in interface org.glassfish.pfl.tf.timer.spi.StatsEventHandler
    • clear

      @ManagedOperation @Description("Discard all statistics on all Timers") void clear()
      Specified by:
      clear in interface org.glassfish.pfl.tf.timer.spi.StatsEventHandler