Class MultiThreadedStatsEventHandlerImpl
java.lang.Object
org.glassfish.pfl.tf.timer.spi.NamedBase
org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase
org.glassfish.pfl.tf.timer.impl.MultiThreadedStatsEventHandlerImpl
- All Implemented Interfaces:
Named, StatsEventHandler, TimerEventHandler
-
Field Summary
Fields inherited from class StatsEventHandlerBase
saList, UNITS -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Discard all accumulated statistics.voidnotify(TimerEvent event) protected voidrecordDuration(int id, long duration) Methods inherited from class StatsEventHandlerBase
notify, stats
-
Method Details
-
clear
public void clear()Description copied from interface:StatsEventHandlerDiscard all accumulated statistics.- Specified by:
clearin interfaceStatsEventHandler- Overrides:
clearin classStatsEventHandlerBase
-
recordDuration
protected void recordDuration(int id, long duration) - Specified by:
recordDurationin classStatsEventHandlerBase
-
notify
-