Kieker 1.5

kieker.monitoring.writer
Class AbstractAsyncWriter

java.lang.Object
  extended by kieker.monitoring.writer.AbstractMonitoringWriter
      extended by kieker.monitoring.writer.AbstractAsyncWriter
All Implemented Interfaces:
IMonitoringRecordReceiver, IMonitoringWriter
Direct Known Subclasses:
AbstractAsyncFSWriter, AsyncDbWriter, AsyncJMSWriter

public abstract class AbstractAsyncWriter
extends AbstractMonitoringWriter

Author:
Jan Waller

Method Summary
 boolean newMonitoringRecord(IMonitoringRecord monitoringRecord)
          Called for each new record.
 void terminate()
          The framework ensures, that this method is called only once!
 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
 

Method Detail

terminate

public final void terminate()
The framework ensures, that this method is called only once!


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.

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