Class GetDataAtTime

java.lang.Object
org.epics.archiverappliance.retrieval.GetDataAtTime

public class GetDataAtTime extends Object
  • Constructor Details

    • GetDataAtTime

      public GetDataAtTime()
  • Method Details

    • getDataAtTime

      public static void getDataAtTime(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, ConfigService configService) throws jakarta.servlet.ServletException, IOException, InterruptedException, ExecutionException
      The main getDataAtTime function. Pass in a list of PVs and a time.
      Parameters:
      req -
      resp -
      configService -
      Throws:
      jakarta.servlet.ServletException
      IOException
      InterruptedException
      ExecutionException
    • getDataAtTimeForPVFromStores

      public static PVWithData getDataAtTimeForPVFromStores(String pvName, Instant atTime, Period searchPeriod, ConfigService configService)
      Async method for getting data for a pv from its list of stores. Walk thru the store till you find the closest sample before the requested time.
      Parameters:
      pvName -
      atTime -
      configService -
      Returns:
    • getDataAtTimeForAppliance

      public static void getDataAtTimeForAppliance(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, ConfigService configService) throws jakarta.servlet.ServletException, IOException, InterruptedException, ExecutionException
      Get data at a specified time from the data stores for the specified set of PV's. This only returns data for those PV's that are on this appliance.
      Throws:
      jakarta.servlet.ServletException
      IOException
      InterruptedException
      ExecutionException