Class AsciiLogReader
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.reader.AbstractReaderPlugin
kieker.analysis.plugin.reader.filesystem.AsciiLogReader
- All Implemented Interfaces:
- IAnalysisComponent,- IPlugin,- IReaderPlugin,- IMonitoringRecordReceiver
@Deprecated public class AsciiLogReader extends AbstractReaderPlugin implements IMonitoringRecordReceiver
Deprecated.
1.15 replaced by teetime file reading facilities
Filesystem reader which reads from multiple directories simultaneously ordered by the logging timestamp.
- Since:
- 0.95a
- Author:
- Andre van Hoorn, Jan Waller
- 
Nested Class SummaryNested classes/interfaces inherited from interface kieker.analysis.plugin.IPluginIPlugin.PluginInputPortReference, IPlugin.STATE
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringCONFIG_PROPERTY_NAME_IGNORE_UNKNOWN_RECORD_TYPESDeprecated.The name of the configuration determining whether the reader ignores unknown record types or not.static java.lang.StringCONFIG_PROPERTY_NAME_INPUTDIRSDeprecated.The name of the configuration determining the input directories for this plugin.static java.lang.StringCONFIG_SHOULD_DECOMPRESSDeprecated.The name of the configuration determining whether to decompress the Kieker log files.static java.lang.StringOUTPUT_PORT_NAME_RECORDSDeprecated.The name of the output port delivering the record read by this plugin.Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponentCONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext
- 
Constructor SummaryConstructors Constructor Description AsciiLogReader(Configuration configuration, IProjectContext projectContext)Deprecated.Creates a new instance of this class using the given parameters.
- 
Method SummaryModifier and Type Method Description ConfigurationgetCurrentConfiguration()Deprecated.This method should deliver aConfigurationobject containing the current configuration of this instance.voidnewEndOfFileRecord()Deprecated.booleannewMonitoringRecord(IMonitoringRecord record)Deprecated.This method is called for each new record by each ReaderThread.booleanread()Deprecated.Starts the reader.voidterminate(boolean error)Deprecated.Initiates a termination of the plugin.Methods inherited from class kieker.analysis.plugin.AbstractPluginareAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, startMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface kieker.analysis.plugin.IPluginconnect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
- 
Field Details- 
OUTPUT_PORT_NAME_RECORDSpublic static final java.lang.String OUTPUT_PORT_NAME_RECORDSDeprecated.The name of the output port delivering the record read by this plugin.- See Also:
- Constant Field Values
 
- 
CONFIG_PROPERTY_NAME_INPUTDIRSpublic static final java.lang.String CONFIG_PROPERTY_NAME_INPUTDIRSDeprecated.The name of the configuration determining the input directories for this plugin.- See Also:
- Constant Field Values
 
- 
CONFIG_PROPERTY_NAME_IGNORE_UNKNOWN_RECORD_TYPESpublic static final java.lang.String CONFIG_PROPERTY_NAME_IGNORE_UNKNOWN_RECORD_TYPESDeprecated.The name of the configuration determining whether the reader ignores unknown record types or not.- See Also:
- Constant Field Values
 
- 
CONFIG_SHOULD_DECOMPRESSpublic static final java.lang.String CONFIG_SHOULD_DECOMPRESSDeprecated.The name of the configuration determining whether to decompress the Kieker log files.- See Also:
- Constant Field Values
 
 
- 
- 
Constructor Details- 
AsciiLogReaderDeprecated.Creates a new instance of this class using the given parameters.- Parameters:
- configuration- The configuration for this component.
- projectContext- The project context for this component.
 
 
- 
- 
Method Details- 
terminatepublic void terminate(boolean error)Deprecated.Initiates a termination of the plugin. This method is only used by the framework and should not be called manually. Use the methodAnalysisController.terminate(boolean)instead. After receiving this notification, the plugin should terminate any running methods, e.g., read for readers.
- 
readpublic boolean read()Deprecated.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. In asynchronous scenarios, theIPlugin.terminate(boolean)method can be used to initiate the termination of this method.- Specified by:
- readin interface- IReaderPlugin
- Returns:
- true if reading was successful; false if an error occurred
 
- 
newMonitoringRecordDeprecated.This method is called for each new record by each ReaderThread.- Specified by:
- newMonitoringRecordin interface- IMonitoringRecordReceiver
- Parameters:
- record- The record to be processed.
- Returns:
- true if and only if the record has been handled correctly.
 
- 
getCurrentConfigurationDeprecated.This method should deliver aConfigurationobject containing the current configuration of this instance. In other words: The constructor should be able to use the given object to initialize a new instance of this class with the same intern properties.- Specified by:
- getCurrentConfigurationin interface- IAnalysisComponent
- Specified by:
- getCurrentConfigurationin interface- IPlugin
- Specified by:
- getCurrentConfigurationin class- AbstractAnalysisComponent
- Returns:
- A completely filled configuration object.
 
- 
newEndOfFileRecordpublic void newEndOfFileRecord()Deprecated.- Specified by:
- newEndOfFileRecordin interface- IMonitoringRecordReceiver
 
 
-