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 Object
Since:
1.13
Author:
Christian Wulf
  • Field Details

    • configuration

      protected final Configuration configuration
      The writer's configuration.
  • Constructor Details

    • AbstractMonitoringWriter

      public AbstractMonitoringWriter(Configuration configuration)
  • Method Details

    • onStarting

      public abstract void onStarting()
      This event fires when Kieker has been initialized and is ready to monitor. It is executed by the MonitoringWriterThread just before reading the writer queue.
    • writeMonitoringRecord

      public abstract void writeMonitoringRecord(IMonitoringRecord record)
      This event fires when Kieker has received a new record.
    • onTerminating

      public abstract void onTerminating()
      This event fires when Kieker has been notified to terminate. It is executed by the MonitoringWriterThread just after finishing the writer queue.
    • toString

      public String toString()
      Returns a textual representation of the writer's configuration.
      Overrides:
      toString in class Object
      Returns:
      a textual representation of the writer's configuration