Kieker 1.3

kieker.monitoring.writer
Interface IMonitoringWriter

All Superinterfaces:
IMonitoringRecordReceiver
All Known Implementing Classes:
AbstractAsyncWriter, AbstractMonitoringWriter, AsyncDbWriter, AsyncFsWriter, AsyncJMSWriter, DummyWriter, PipeWriter, SyncDbWriter, SyncFsWriter

public interface IMonitoringWriter
extends IMonitoringRecordReceiver

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

Method Summary
 boolean newMonitoringRecord(IMonitoringRecord record)
          Called for each new record.
 void setController(IMonitoringController monitoringController)
          Set the IMonitoringController controlling this writer.
 void terminate()
          Called by the Monitoring Controller to announce a shutdown of monitoring.
 String toString()
           
 

Method Detail

newMonitoringRecord

boolean newMonitoringRecord(IMonitoringRecord record)
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
Parameters:
record - the record.
Returns:
true on success; false in case of an error.

terminate

void terminate()
Called by the Monitoring Controller to announce a shutdown of monitoring. Writers should return as soon as it is safe to terminate Kieker.


setController

void setController(IMonitoringController monitoringController)
                   throws Exception
Set the IMonitoringController controlling this writer.

Parameters:
monitoringController -
Throws:
Exception

toString

String toString()
Overrides:
toString in class Object

Kieker 1.3

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net