Top Fields Constructors Methods
org.glassfish.pfl.tf.timer.impl

public Class StatsEventHandlerImpl

extends StatsEventHandlerBase
Class Inheritance
Imports
java.util.Stack, org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator, .TimerEvent, .TimerFactory

Field Summary

Modifier and TypeField and Description
private Stack<TimerEvent>
Inherited from org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase:
saListUNITS

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
public void
protected void
Inherited from org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase:
notifystats

Field Detail

teStackback to summary
private Stack<TimerEvent> teStack

Constructor Detail

StatsEventHandlerImplback to summary
pack-priv StatsEventHandlerImpl(TimerFactory factory, String name)

Method Detail

clearback to summary
public void clear()

Overrides org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase.clear.

Implements org.glassfish.pfl.tf.timer.spi.StatsEventHandler.clear.

Doc from org.glassfish.pfl.tf.timer.spi.StatsEventHandler.clear.

Discard all accumulated statistics.

notifyback to summary
public void notify(TimerEvent event)

Implements org.glassfish.pfl.tf.timer.spi.TimerEventHandler.notify.

recordDurationback to summary
protected void recordDuration(int id, long duration)

Implements abstract org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase.recordDuration.