DualSocketTcpWriter
instead.@Deprecated public class TCPWriter extends AbstractMonitoringWriter implements IRegistryListener<java.lang.String>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_BUFFERSIZE
Deprecated.
|
static java.lang.String |
CONFIG_FLUSH
Deprecated.
|
static java.lang.String |
CONFIG_HOSTNAME
Deprecated.
|
static java.lang.String |
CONFIG_PORT1
Deprecated.
|
static java.lang.String |
CONFIG_PORT2
Deprecated.
|
configuration
Constructor and Description |
---|
TCPWriter(Configuration configuration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
onNewRegistryEntry(java.lang.String value,
int id)
Deprecated.
This event is fired after a new registry entry was registered.
|
void |
onStarting()
Deprecated.
This event fires when Kieker has been initialized and is ready to monitor.
|
void |
onTerminating()
Deprecated.
This event fires when Kieker has been notified to terminate.
|
void |
writeMonitoringRecord(IMonitoringRecord monitoringRecord)
Deprecated.
This event fires when Kieker has received a new record.
|
toString
public static final java.lang.String CONFIG_HOSTNAME
public static final java.lang.String CONFIG_PORT1
public static final java.lang.String CONFIG_PORT2
public static final java.lang.String CONFIG_BUFFERSIZE
public static final java.lang.String CONFIG_FLUSH
public TCPWriter(Configuration configuration) throws java.io.IOException
java.io.IOException
public void onStarting()
AbstractMonitoringWriter
MonitoringWriterThread
just before reading the writer queue.onStarting
in class AbstractMonitoringWriter
public void writeMonitoringRecord(IMonitoringRecord monitoringRecord)
AbstractMonitoringWriter
writeMonitoringRecord
in class AbstractMonitoringWriter
public void onNewRegistryEntry(java.lang.String value, int id)
IRegistryListener
onNewRegistryEntry
in interface IRegistryListener<java.lang.String>
public void onTerminating()
AbstractMonitoringWriter
MonitoringWriterThread
just after finishing the writer queue.onTerminating
in class AbstractMonitoringWriter
Copyright 2017 Kieker Project, http://kieker-monitoring.net