public final class PipeWriter extends AbstractMonitoringWriter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_PIPENAME |
configuration
Constructor and Description |
---|
PipeWriter(Configuration configuration)
Creates a new instance of this class using the given parameters.
|
PipeWriter(java.lang.String pipeName)
Creates a new instance using an empty configuration.
|
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
toString()
Returns a textual representation of the writer's configuration.
|
void |
writeMonitoringRecord(IMonitoringRecord record)
This event fires when Kieker has received a new record.
|
public PipeWriter(Configuration configuration)
configuration
- The configuration used to initialize the pipe writer.public PipeWriter(java.lang.String pipeName)
public java.lang.String toString()
AbstractMonitoringWriter
toString
in class AbstractMonitoringWriter
public void onStarting()
AbstractMonitoringWriter
MonitoringWriterThread
just before reading the writer queue.onStarting
in class AbstractMonitoringWriter
public void writeMonitoringRecord(IMonitoringRecord record)
AbstractMonitoringWriter
writeMonitoringRecord
in class AbstractMonitoringWriter
public void onTerminating()
AbstractMonitoringWriter
MonitoringWriterThread
just after finishing the writer queue.onTerminating
in class AbstractMonitoringWriter
Copyright 2017 Kieker Project, http://kieker-monitoring.net