Package org.glassfish.pfl.tf.timer.spi
Interface LogEventHandler
- All Superinterfaces:
Iterable<TimerEvent>
,Named
,TimerEventHandler
- 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 TypeMethodDescriptionvoid
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 java.lang.Iterable
forEach, iterator, spliterator
Methods 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.
-