public class FilesystemLogReplayer extends AbstractLogReplayer
AbstractLogReplayer
, using the FSReader
to replay IMonitoringRecord
s from a list of file
system monitoring logs.MAX_TIMESTAMP, MIN_TIMESTAMP
Constructor and Description |
---|
FilesystemLogReplayer(java.lang.String monitoringConfigurationFile,
boolean realtimeMode,
double realtimeAccelerationFactor,
boolean keepOriginalLoggingTimestamps,
int numRealtimeWorkerThreads,
long ignoreRecordsBeforeTimestamp,
long ignoreRecordsAfterTimestamp,
java.lang.String[] inputDirs)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractReaderPlugin |
createReader(IAnalysisController analysisInstance)
Implementing classes return the reader to be used for reading the monitoring log.
|
protected java.lang.String |
readerOutputPortName()
Implementing classes returns the name of the reader's output port which provides the
IMonitoringRecord s from the monitoring log. |
replay
public FilesystemLogReplayer(java.lang.String monitoringConfigurationFile, boolean realtimeMode, double realtimeAccelerationFactor, boolean keepOriginalLoggingTimestamps, int numRealtimeWorkerThreads, long ignoreRecordsBeforeTimestamp, long ignoreRecordsAfterTimestamp, java.lang.String[] inputDirs)
monitoringConfigurationFile
- The name of the monitoring configuration file.realtimeMode
- Whether realtime mode should be used.realtimeAccelerationFactor
- Determines whether to accelerate (value > 1.0) or slow down (<1.0) the replay in realtime mode by the given factor.
Choose a value of 1.0 for "real" realtime mode (i.e., no acceleration/slow down)keepOriginalLoggingTimestamps
- Whether to keep the original logging timestamps or not.numRealtimeWorkerThreads
- The number of realtime worker threads to be used.ignoreRecordsBeforeTimestamp
- The lower limit for the timestamps.ignoreRecordsAfterTimestamp
- The upper limit for the timestamps.inputDirs
- The array containing the input directories.protected AbstractReaderPlugin createReader(IAnalysisController analysisInstance)
createReader
in class AbstractLogReplayer
analysisInstance
- The analysis controller which will be the parent of the reader.protected java.lang.String readerOutputPortName()
IMonitoringRecord
s from the monitoring log.readerOutputPortName
in class AbstractLogReplayer
Copyright 2017 Kieker Project, http://kieker-monitoring.net