kieker.analysis.reader.filesystem
Class FSReader
java.lang.Object
kieker.analysis.reader.AbstractMonitoringReader
kieker.analysis.reader.filesystem.FSReader
- All Implemented Interfaces:
- IMonitoringReader
public class FSReader
- extends AbstractMonitoringReader
Filesystem reader which reads from multiple directories simultaneously
ordered by the logging timestamp.
- Author:
- Andre van Hoorn
Method Summary |
boolean |
init(String initString)
Initializes the reader based on the given key/value pair initString. |
boolean |
read()
Starts the reader. |
PROP_NAME_INPUTDIRS
public static final String PROP_NAME_INPUTDIRS
- See Also:
- Constant Field Values
FSReader
public FSReader(String[] inputDirs)
FSReader
public FSReader(String[] inputDirs,
Collection<Class<? extends IMonitoringRecord>> readOnlyRecordsOfType)
- Parameters:
inputDirs
- readOnlyRecordsOfType
- select only records of this type; null selects all
FSReader
public FSReader()
- Default constructor used for construction by reflection.
read
public boolean read()
- Description copied from interface:
IMonitoringReader
- 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.
The method should indicate an error by the return value false.
- Returns:
- true if reading was successful; false if an error occurred
init
public boolean init(String initString)
- Initializes the reader based on the given key/value pair initString. For
the key "inputDirs", the method expects a list of input
directories separated by semicolon.
Example: inputDirs=dir0;...;dir1
- Parameters:
initString
- the initialization string
- Returns:
- true if the initialization was successful; false if an error occurred
Copyright 2011 the Kieker Project, http://kieker.sourceforge.net>