public class ExplorVizTcpWriter 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
byteBuffer. |
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 |
|---|
ExplorVizTcpWriter(Configuration configuration)
Create explorviz writer.
|
| 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 record)
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
byteBuffer.public static final java.lang.String CONFIG_FLUSH
flush.public ExplorVizTcpWriter(Configuration configuration) throws java.io.IOException
configuration - configurationjava.io.IOException - on io errorpublic void onStarting()
AbstractMonitoringWriterMonitoringWriterThread just before reading the writer queue.onStarting in class AbstractMonitoringWriterpublic void writeMonitoringRecord(IMonitoringRecord record)
AbstractMonitoringWriterwriteMonitoringRecord in class AbstractMonitoringWriterpublic void onNewRegistryEntry(java.lang.String value,
int id)
IRegistryListeneronNewRegistryEntry in interface IRegistryListener<java.lang.String>value - valueid - idpublic void onTerminating()
AbstractMonitoringWriterMonitoringWriterThread just after finishing the writer queue.onTerminating in class AbstractMonitoringWriterCopyright 2020 Kieker Project, http://kieker-monitoring.net