Class RequestTimeSeriesReader

java.lang.Object
tools.descartes.dlim.reader.RequestTimeSeriesReader

public final class RequestTimeSeriesReader extends Object
Reads a time-stamp series into an arrival rate series.
  • Method Details

    • createArrivalRatesFromSortedTimeStamps

      public static void createArrivalRatesFromSortedTimeStamps(String path, String outputDir)
      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

      public static void createArrivalRatesFromUnsortedTimeStamps(String path, String outputDir)
      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.