Package org.glassfish.pfl.tf.timer.spi
Interface LogEventHandler
- All Superinterfaces:
Iterable<TimerEvent>,Named,TimerEventHandler
- All Known Subinterfaces:
TimerAnnotationHelper.ManagedLogEventHandler
- All Known Implementing Classes:
LogEventHandlerImpl
A TimerEventHandler that stores all events that is receives. It can
be used in the JDK 5 for loop.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Discard the contents of the log.voiddisplay(PrintStream arg, String msg) Display the contents of this log in formatted form to the PrintStream.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.glassfish.pfl.tf.timer.spi.TimerEventHandler
notify
-
Method Details
-
clear
void clear()Discard the contents of the log. -
display
Display the contents of this log in formatted form to the PrintStream.
-