Package kieker.monitoring.writer
Class AbstractMonitoringWriter
java.lang.Object
kieker.monitoring.writer.AbstractMonitoringWriter
- Direct Known Subclasses:
- AmqpWriter,- CassandraDbWriter,- ChunkingCollector,- DualSocketTcpWriter,- DumpWriter,- FileWriter,- InfluxDBWriter,- JmsWriter,- JmxWriter,- PipeWriter,- PrintStreamWriter,- SingleSocketTcpWriter
public abstract class AbstractMonitoringWriter
extends java.lang.Object
- Since:
- 1.13
- Author:
- Christian Wulf
- 
Field SummaryFields Modifier and Type Field Description protected ConfigurationconfigurationThe writer's configuration.
- 
Constructor SummaryConstructors Constructor Description AbstractMonitoringWriter(Configuration configuration)
- 
Method SummaryModifier and Type Method Description abstract voidonStarting()This event fires when Kieker has been initialized and is ready to monitor.abstract voidonTerminating()This event fires when Kieker has been notified to terminate.java.lang.StringtoString()Returns a textual representation of the writer's configuration.abstract voidwriteMonitoringRecord(IMonitoringRecord record)This event fires when Kieker has received a new record.
- 
Field Details- 
configurationThe writer's configuration.
 
- 
- 
Constructor Details
- 
Method Details- 
onStartingpublic abstract void onStarting()This event fires when Kieker has been initialized and is ready to monitor. It is executed by theMonitoringWriterThreadjust before reading the writer queue.
- 
writeMonitoringRecordThis event fires when Kieker has received a new record.
- 
onTerminatingpublic abstract void onTerminating()This event fires when Kieker has been notified to terminate. It is executed by theMonitoringWriterThreadjust after finishing the writer queue.
- 
toStringpublic java.lang.String toString()Returns a textual representation of the writer's configuration.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- a textual representation of the writer's configuration
 
 
-