Package tools.descartes.dlim.reader
Interface IDlimArrivalRateReader
- All Known Implementing Classes:
DefaultArrivalRateReader
public interface IDlimArrivalRateReader
This Interface must be implemented for the Extractor extension point. Reads
an arrival rate trace file into an in memory list. Implement this for parsing
an unsupported format. Use dlim.reader.DefaultArrivalRateReader for the
default format as used by dlim.extractor and dlim.exporter plugins.
-
Method Summary
Modifier and TypeMethodDescriptionreadFileToList
(String filePath, double offset) Reads an arrival rate file into an in-memory arrival rate tuple list.
-
Method Details
-
readFileToList
Reads an arrival rate file into an in-memory arrival rate tuple list.- Parameters:
filePath
- The file's path.offset
- The time offset at which to start reading- Returns:
- ordered list of arrival rate tuples
- Throws:
IOException
- Exception on missing or unreadable files
-