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 voidonStarting()This event fires when Kieker has been initialized and is ready to monitor.voidonTerminating()This event fires when Kieker has been notified to terminate.voidwriteMonitoringRecord(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: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
-