Package kieker.monitoring.writer.print
Class PrintStreamWriter
java.lang.Object
kieker.monitoring.writer.AbstractMonitoringWriter
kieker.monitoring.writer.print.PrintStreamWriter
A writer that prints incoming records to the specified PrintStream.
- Since:
- 1.5
- Author:
- Jan Waller
-
Field Summary
FieldsFields inherited from class kieker.monitoring.writer.AbstractMonitoringWriter
configuration -
Constructor Summary
ConstructorsConstructorDescriptionPrintStreamWriter(Configuration configuration) Creates a new instance of this writer. -
Method Summary
Modifier and TypeMethodDescriptionvoidThis event fires when Kieker has been initialized and is ready to monitor.voidThis event fires when Kieker has been notified to terminate.voidThis event fires when Kieker has received a new record.Methods inherited from class kieker.monitoring.writer.AbstractMonitoringWriter
toString
-
Field Details
-
STREAM
-
CONFIG_STREAM_STDOUT
- See Also:
-
CONFIG_STREAM_STDERR
- See Also:
-
-
Constructor Details
-
PrintStreamWriter
Creates a new instance of this writer.- Parameters:
configuration- The configuration which will be used to initialize this writer.
-
-
Method Details
-
onStarting
public void onStarting()Description copied from class:AbstractMonitoringWriterThis event fires when Kieker has been initialized and is ready to monitor. It is executed by theMonitoringWriterThreadjust before reading the writer queue.- Specified by:
onStartingin classAbstractMonitoringWriter
-
writeMonitoringRecord
Description copied from class:AbstractMonitoringWriterThis event fires when Kieker has received a new record.- Specified by:
writeMonitoringRecordin classAbstractMonitoringWriter
-
onTerminating
public void onTerminating()Description copied from class:AbstractMonitoringWriterThis event fires when Kieker has been notified to terminate. It is executed by theMonitoringWriterThreadjust after finishing the writer queue.- Specified by:
onTerminatingin classAbstractMonitoringWriter
-