Package tools.descartes.dlim.reader
Class RequestTimeSeriesReader
java.lang.Object
tools.descartes.dlim.reader.RequestTimeSeriesReader
Reads a time-stamp series into an arrival rate series.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
createArrivalRatesFromSortedTimeStamps
(String path, String outputDir) Reads a time-stamp series into an arrival rate series.static void
createArrivalRatesFromUnsortedTimeStamps
(String path, String outputDir) Reads a time-stamp series into an arrival rate series.
-
Method Details
-
createArrivalRatesFromSortedTimeStamps
Reads a time-stamp series into an arrival rate series. Time stamps must be sorted. Works directly on the HDD.- Parameters:
path
- The path of the time-stamp series.outputDir
- The directory in which the arrival rate file is to be written.
-
createArrivalRatesFromUnsortedTimeStamps
Reads a time-stamp series into an arrival rate series. Pre sorts the time stamps. Amount of parseble time-staps is thus limited by heap size.- Parameters:
path
- The path of the time-stamp series.outputDir
- The directory in which the arrival rate file is to be written.
-