kieker.analysis.reader
Class DummyLogReader
java.lang.Object
kieker.analysis.reader.AbstractMonitoringLogReader
kieker.analysis.reader.DummyLogReader
- All Implemented Interfaces:
- IMonitoringLogReader
public class DummyLogReader
- extends AbstractMonitoringLogReader
This is a logReader for testing. It creates just some random data. All
have the same operation and component and some random wait time of approx.
a second. It never terminates.
- Author:
- matthias
Method Summary |
void |
init(String initString)
Initialize instance from passed initialization string which is typically
a list of separated parameter/values pairs. |
boolean |
read()
Starts the reader. |
DummyLogReader
public DummyLogReader()
read
public boolean read()
throws MonitoringLogReaderException
- Description copied from interface:
IMonitoringLogReader
- Starts the reader. This method is intended to be a blocking operation,
i.e., it is assumed that reading has finished before this method
returns.
- Returns:
- true iff reading was successful
- Throws:
MonitoringLogReaderException
init
public void init(String initString)
throws IllegalArgumentException
- Description copied from interface:
IMonitoringLogReader
- Initialize instance from passed initialization string which is typically
a list of separated parameter/values pairs.
The implementing class AbstractMonitoringLogWriter includes convenient
methods to extract configuration values from an initString.
TODO: make signature of this init method and the writer's init method
(returns boolean and doesn't throw exception) consistent.
- Parameters:
initString
- the initialization string
- Throws:
IllegalArgumentException
- if an error occured
Copyright 2010 the Kieker Project, http://kieker.sourceforge.net>