Kieker 1.6

kieker.monitoring.writer
Interface IMonitoringWriter

All Superinterfaces:
IMonitoringRecordReceiver
All Known Implementing Classes:
AbstractAsyncFSWriter, AbstractAsyncWriter, AbstractMonitoringWriter, AsyncBinaryFsWriter, AsyncDbWriter, AsyncFsWriter, AsyncJMSWriter, DummyWriter, JMXWriter, PipeWriter, PrintStreamWriter, 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.6

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