Kieker 1.11

kieker.monitoring.core.controller
Interface IWriterController

All Superinterfaces:
IMonitoringRecordReceiver
All Known Subinterfaces:
IMonitoringController
All Known Implementing Classes:
MonitoringController, WriterController

public interface IWriterController
extends IMonitoringRecordReceiver

The methods must not throw any exceptions but indicate problems via its respective return value.

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

Method Summary
 long getNumberOfInserts()
          Shows how many inserts have been performed since last restart of the execution environment.
 boolean newMonitoringRecord(IMonitoringRecord record)
           Called for each new record to write it out to the pre-configured target (e.g., file system, database, or messaging queue).
 

Method Detail

newMonitoringRecord

boolean newMonitoringRecord(IMonitoringRecord record)

Called for each new record to write it out to the pre-configured target (e.g., file system, database, or messaging queue). This method could invoke the given record's methods declared in IMonitoringRecord and thus alter its loggingTimestamp property.

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.
Since:
1.3

getNumberOfInserts

long getNumberOfInserts()
Shows how many inserts have been performed since last restart of the execution environment.

Returns:
long
Since:
1.3

Kieker 1.11

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