org.glassfish.pfl.tf.timer.impl
Class StatsEventHandlerImpl
java.lang.Object
org.glassfish.pfl.tf.timer.spi.NamedBase
org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase
org.glassfish.pfl.tf.timer.impl.StatsEventHandlerImpl
- All Implemented Interfaces:
- Named, StatsEventHandler, TimerEventHandler
public class StatsEventHandlerImpl
- extends StatsEventHandlerBase
| Methods inherited from interface org.glassfish.pfl.tf.timer.spi.Named |
factory, name |
clear
public void clear()
- Description copied from interface:
StatsEventHandler
- Discard all accumulated statistics.
- Specified by:
clear in interface StatsEventHandler- Overrides:
clear in class StatsEventHandlerBase
recordDuration
protected void recordDuration(int id,
long duration)
- Specified by:
recordDuration in class StatsEventHandlerBase
notify
public void notify(TimerEvent event)
Copyright © 2013 Oracle. All Rights Reserved.