Package org.glassfish.pfl.tf.timer.impl
Class LogEventHandlerImpl
java.lang.Object
org.glassfish.pfl.tf.timer.spi.NamedBase
org.glassfish.pfl.tf.timer.impl.LogEventHandlerImpl
- All Implemented Interfaces:
Iterable<TimerEvent>,LogEventHandler,Named,TimerEventHandler
-
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.iterator()voidnotify(TimerEvent event) Methods inherited from class org.glassfish.pfl.tf.timer.spi.NamedBase
equals, factory, hashCode, name, setFactory, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceIterable<TimerEvent>
-
notify
- Specified by:
notifyin interfaceTimerEventHandler
-
clear
public void clear()Description copied from interface:LogEventHandlerDiscard the contents of the log.- Specified by:
clearin interfaceLogEventHandler
-
display
Description copied from interface:LogEventHandlerDisplay the contents of this log in formatted form to the PrintStream.- Specified by:
displayin interfaceLogEventHandler
-