kieker.monitoring.writer.namedRecordPipe
Class PipeWriter
java.lang.Object
kieker.monitoring.writer.AbstractMonitoringWriter
kieker.monitoring.writer.namedRecordPipe.PipeWriter
- All Implemented Interfaces:
- IMonitoringRecordReceiver, IMonitoringWriter
public final class PipeWriter
- extends AbstractMonitoringWriter
- Author:
- Andre van Hoorn, Jan Waller, Robert von Massow
CONFIG__PIPENAME
public static final String CONFIG__PIPENAME
PipeWriter
public PipeWriter(Configuration configuration)
terminate
public final void terminate()
- Description copied from interface:
IMonitoringWriter
- Called by the Monitoring Controller to announce a shutdown of monitoring.
Writers should return as soon as it is safe to terminate Kieker.
- Specified by:
terminate
in interface IMonitoringWriter
- Specified by:
terminate
in class AbstractMonitoringWriter
newMonitoringRecord
public final boolean newMonitoringRecord(IMonitoringRecord monitoringRecord)
- Description copied from interface:
IMonitoringRecordReceiver
- Called for each new record.
Notice, that this method should not throw an exception,
but indicate an error by the return value false.
- Specified by:
newMonitoringRecord
in interface IMonitoringRecordReceiver
- Specified by:
newMonitoringRecord
in interface IMonitoringWriter
- Specified by:
newMonitoringRecord
in class AbstractMonitoringWriter
- Parameters:
monitoringRecord
- the record.
- Returns:
- true on success; false in case of an error.
toString
public String toString()
- Specified by:
toString
in interface IMonitoringWriter
- Overrides:
toString
in class AbstractMonitoringWriter
Copyright 2011 the Kieker Project, http://kieker.sourceforge.net>