org.glassfish.gmbal.impl
Interface TimerAnnotationHelper.ManagedStatsEventHandler

All Superinterfaces:
TimerAnnotationHelper.ManagedNamed, TimerAnnotationHelper.ManagedTimerEventHandler
Enclosing class:
TimerAnnotationHelper

@ManagedObject
@Description(value="TimerEventHandler that accumulates statistics on events")
public static interface TimerAnnotationHelper.ManagedStatsEventHandler
extends TimerAnnotationHelper.ManagedTimerEventHandler


Method Summary
 void clear()
           
 java.util.Map<Timer,Statistics> stats()
           
 
Methods inherited from interface org.glassfish.gmbal.impl.TimerAnnotationHelper.ManagedNamed
factory, name
 

Method Detail

stats

@ManagedAttribute
@Description(value="A table giving statistics for each activated Timer that had at least one TimerEvent")
java.util.Map<Timer,Statistics> stats()

clear

@ManagedOperation
@Description(value="Discard all statistics on all Timers")
void clear()