Top Description Methods
org.glassfish.pfl.tf.timer.spi

public Interface LogEventHandler

extends TimerEventHandler, Iterable<TimerEvent>
Known Direct Implementers
org.glassfish.pfl.tf.timer.impl.LogEventHandlerImpl
Imports
java.io.PrintStream

A TimerEventHandler that stores all events that is receives. It can be used in the JDK 5 for loop.

Method Summary

Modifier and TypeMethod and Description
public void
clear()

Discard the contents of the log.

public void
display(PrintStream arg, String msg)

Display the contents of this log in formatted form to the PrintStream.

Inherited from java.lang.Iterable:
forEachiteratorspliterator
Inherited from org.glassfish.pfl.tf.timer.spi.TimerEventHandler:
notify

Method Detail

clearback to summary
public void clear()

Discard the contents of the log.

displayback to summary
public void display(PrintStream arg, String msg)

Display the contents of this log in formatted form to the PrintStream.