Class SingleSocketTcpWriter

java.lang.Object
kieker.monitoring.writer.AbstractMonitoringWriter
kieker.monitoring.writer.tcp.SingleSocketTcpWriter
All Implemented Interfaces:
IRegistryListener<java.lang.String>

public class SingleSocketTcpWriter
extends AbstractMonitoringWriter
implements IRegistryListener<java.lang.String>
Represents a monitoring writer which serializes records via TCP to a given host:port.
Since:
1.13
Author:
Christian Wulf
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String CONFIG_BUFFERSIZE
    configuration key for the size of the buffer.
    static java.lang.String CONFIG_CONN_TIMEOUT_IN_MS
    configuration key for connectionTimeoutInMs.
    static java.lang.String CONFIG_FLUSH
    configuration key for flush.
    static java.lang.String CONFIG_HOSTNAME
    configuration key for the hostname.
    static java.lang.String CONFIG_PORT
    configuration key for the port.
    static java.lang.String PREFIX
    This writer can be configured by the configuration file "kieker.properties".

    Fields inherited from class kieker.monitoring.writer.AbstractMonitoringWriter

    configuration
  • Constructor Summary

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

    Modifier and Type Method Description
    void onNewRegistryEntry​(java.lang.String value, int id)
    This event is fired after a new registry entry was registered.
    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 monitoringRecord)
    This event fires when Kieker has received a new record.

    Methods inherited from class kieker.monitoring.writer.AbstractMonitoringWriter

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait