Package kieker.monitoring.writer.dump
Class DumpWriter
java.lang.Object
kieker.monitoring.writer.AbstractMonitoringWriter
kieker.monitoring.writer.dump.DumpWriter
public class DumpWriter extends AbstractMonitoringWriter
A writer that does nothing but consuming records.
- Since:
- 1.3
- Author:
- Andre van Hoorn, Jan Waller
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DumpWriter(Configuration configuration)
Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description void
onStarting()
This event fires when Kieker has been initialized and is ready to monitor.void
onTerminating()
This event fires when Kieker has been notified to terminate.void
writeMonitoringRecord(IMonitoringRecord record)
This event fires when Kieker has received a new record.
-
Constructor Details
-
DumpWriter
Creates a new instance of this class using the given parameters.- Parameters:
configuration
- The configuration for this writer.
-
-
Method Details
-
onStarting
public void onStarting()Description copied from class:AbstractMonitoringWriter
This event fires when Kieker has been initialized and is ready to monitor. It is executed by theMonitoringWriterThread
just before reading the writer queue.- Specified by:
onStarting
in classAbstractMonitoringWriter
-
writeMonitoringRecord
Description copied from class:AbstractMonitoringWriter
This event fires when Kieker has received a new record.- Specified by:
writeMonitoringRecord
in classAbstractMonitoringWriter
-
onTerminating
public void onTerminating()Description copied from class:AbstractMonitoringWriter
This event fires when Kieker has been notified to terminate. It is executed by theMonitoringWriterThread
just after finishing the writer queue.- Specified by:
onTerminating
in classAbstractMonitoringWriter
-