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 Summary

    Fields 
    Modifier and Type Field Description
    protected Configuration configuration
    The writer's configuration.
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractMonitoringWriter​(Configuration configuration)  
  • Method Summary

    Modifier and Type Method Description
    abstract void onStarting()
    This event fires when Kieker has been initialized and is ready to monitor.
    abstract void onTerminating()
    This event fires when Kieker has been notified to terminate.
    java.lang.String toString()
    Returns a textual representation of the writer's configuration.
    abstract void writeMonitoringRecord​(IMonitoringRecord record)
    This event fires when Kieker has received a new record.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • 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 java.lang.String toString()
      Returns a textual representation of the writer's configuration.
      Overrides:
      toString in class java.lang.Object
      Returns:
      a textual representation of the writer's configuration