public class PrintStreamWriter extends AbstractMonitoringWriter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_STREAM_STDERR |
static java.lang.String |
CONFIG_STREAM_STDOUT |
static java.lang.String |
STREAM |
configuration
Constructor and Description |
---|
PrintStreamWriter(Configuration configuration)
Creates a new instance of this writer.
|
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.
|
void |
writeMonitoringRecord(IMonitoringRecord record)
This event fires when Kieker has received a new record.
|
toString
public static final java.lang.String STREAM
public static final java.lang.String CONFIG_STREAM_STDOUT
public static final java.lang.String CONFIG_STREAM_STDERR
public PrintStreamWriter(Configuration configuration)
configuration
- The configuration which will be used to initialize this writer.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