kieker.monitoring.core.controller
Class WriterController
java.lang.Object
kieker.monitoring.core.controller.AbstractController
kieker.monitoring.core.controller.WriterController
- All Implemented Interfaces:
- IMonitoringRecordReceiver, IWriterController
public final class WriterController
- extends AbstractController
- implements IWriterController
- Author:
- Andre van Hoorn, Matthias Rohr, Jan Waller, Robert von Massow
WriterController
public WriterController(Configuration configuration)
toString
public final String toString()
- Specified by:
toString
in class AbstractController
newMonitoringRecord
public final 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
- Specified by:
newMonitoringRecord
in interface IWriterController
- Parameters:
record
- the record.
- Returns:
- true on success; false in case of an error.
getNumberOfInserts
public final long getNumberOfInserts()
- Description copied from interface:
IWriterController
- Shows how many inserts have been performed since last restart of the
execution environment.
- Specified by:
getNumberOfInserts
in interface IWriterController
- Returns:
- long
Copyright 2011 the Kieker Project, http://kieker.sourceforge.net>