public class SingleSocketTcpWriter extends AbstractMonitoringWriter implements IRegistryListener<java.lang.String>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_BUFFERSIZE
configuration key for the size of the
buffer. |
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.
|
configuration| Constructor and Description |
|---|
SingleSocketTcpWriter(Configuration configuration) |
| Modifier and Type | Method and 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.
|
toStringpublic static final java.lang.String CONFIG_HOSTNAME
public static final java.lang.String CONFIG_PORT
public static final java.lang.String CONFIG_BUFFERSIZE
buffer.public static final java.lang.String CONFIG_FLUSH
flush.public SingleSocketTcpWriter(Configuration configuration) throws java.io.IOException
java.io.IOExceptionpublic void onStarting()
AbstractMonitoringWriterMonitoringWriterThread just before reading the writer queue.onStarting in class AbstractMonitoringWriterpublic void writeMonitoringRecord(IMonitoringRecord monitoringRecord)
AbstractMonitoringWriterwriteMonitoringRecord in class AbstractMonitoringWriterpublic void onNewRegistryEntry(java.lang.String value,
int id)
IRegistryListeneronNewRegistryEntry in interface IRegistryListener<java.lang.String>public void onTerminating()
AbstractMonitoringWriterMonitoringWriterThread just after finishing the writer queue.onTerminating in class AbstractMonitoringWriterCopyright 2017 Kieker Project, http://kieker-monitoring.net