org.glassfish.pfl.tf.timer.impl
Class MultiThreadedStatsEventHandlerImpl

java.lang.Object
  extended by org.glassfish.pfl.tf.timer.spi.NamedBase
      extended by org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase
          extended by org.glassfish.pfl.tf.timer.impl.MultiThreadedStatsEventHandlerImpl
All Implemented Interfaces:
Named, StatsEventHandler, TimerEventHandler

public class MultiThreadedStatsEventHandlerImpl
extends StatsEventHandlerBase


Field Summary
 
Fields inherited from class org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase
saList, UNITS
 
Method Summary
 void clear()
          Discard all accumulated statistics.
 void notify(TimerEvent event)
           
protected  void recordDuration(int id, long duration)
           
 
Methods inherited from class org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase
notify, stats
 
Methods inherited from class org.glassfish.pfl.tf.timer.spi.NamedBase
equals, factory, hashCode, name, setFactory, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.glassfish.pfl.tf.timer.spi.Named
factory, name
 

Method Detail

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.