Kieker 1.5

kieker.monitoring.writer.namedRecordPipe
Class PipeWriter

java.lang.Object
  extended by kieker.monitoring.writer.AbstractMonitoringWriter
      extended by kieker.monitoring.writer.namedRecordPipe.PipeWriter
All Implemented Interfaces:
IPipeWriter, IMonitoringRecordReceiver, IMonitoringWriter

public final class PipeWriter
extends AbstractMonitoringWriter
implements IPipeWriter

Author:
Andre van Hoorn, Jan Waller, Robert von Massow

Field Summary
static String CONFIG_PIPENAME
           
 
Constructor Summary
PipeWriter(Configuration configuration)
           
 
Method Summary
 boolean newMonitoringRecord(IMonitoringRecord monitoringRecord)
          Called for each new record.
 void terminate()
          Called by the Monitoring Controller to announce a shutdown of monitoring.
 String toString()
           
 
Methods inherited from class kieker.monitoring.writer.AbstractMonitoringWriter
getConfiguration, setController
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONFIG_PIPENAME

public static final String CONFIG_PIPENAME
Constructor Detail

PipeWriter

public PipeWriter(Configuration configuration)
Method Detail

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

newMonitoringRecord

public final boolean newMonitoringRecord(IMonitoringRecord monitoringRecord)
Description copied from interface: IPipeWriter
Called for each new record.

Specified by:
newMonitoringRecord in interface IPipeWriter
Specified by:
newMonitoringRecord in interface IMonitoringRecordReceiver
Specified by:
newMonitoringRecord in interface IMonitoringWriter
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

Kieker 1.5

Copyright 2012 the Kieker Project, http://kieker-monitoring.net