org.glassfish.pfl.tf.timer.spi
Interface LogEventHandler
- All Superinterfaces:
- java.lang.Iterable<TimerEvent>, Named, TimerEventHandler
- All Known Implementing Classes:
- LogEventHandlerImpl
public interface LogEventHandler
- extends TimerEventHandler, java.lang.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(java.io.PrintStream arg,
java.lang.String msg)
Display the contents of this log in formatted form to the PrintStream. |
| Methods inherited from interface org.glassfish.pfl.tf.timer.spi.Named |
factory, name |
| Methods inherited from interface java.lang.Iterable |
iterator |
clear
void clear()
- Discard the contents of the log.
display
void display(java.io.PrintStream arg,
java.lang.String msg)
- Display the contents of this log in formatted form to the PrintStream.