org.glassfish.pfl.tf.timer.spi
Interface LogEventHandler

All Superinterfaces:
Iterable<TimerEvent>, Named, TimerEventHandler
All Known Implementing Classes:
LogEventHandlerImpl

public interface LogEventHandler
extends TimerEventHandler, Iterable<TimerEvent>

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


Method Summary
 void clear()
          Discard the contents of the log.
 void display(PrintStream arg, String msg)
          Display the contents of this log in formatted form to the PrintStream.
 
Methods inherited from interface org.glassfish.pfl.tf.timer.spi.TimerEventHandler
notify
 
Methods inherited from interface org.glassfish.pfl.tf.timer.spi.Named
factory, name
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

clear

void clear()
Discard the contents of the log.


display

void display(PrintStream arg,
             String msg)
Display the contents of this log in formatted form to the PrintStream.



Copyright © 2013 Oracle. All Rights Reserved.