Class RetrievalState

    • Constructor Detail

      • RetrievalState

        public RetrievalState​(ConfigService configService)
    • Method Detail

      • getDataSources

        public List<DataSourceforPV> getDataSources​(BasicContext context,
                                                    String pvName,
                                                    PVTypeInfo typeInfo,
                                                    Timestamp start,
                                                    Timestamp end,
                                                    javax.servlet.http.HttpServletRequest req)
                                             throws IOException
        Get the data sources for a PV in the order of their lifetime id...
        Parameters:
        context - BasicContext
        pvName - The name of PV.
        typeInfo - PVTypeInfo
        start - Timestamp
        end - Timestamp
        req - HttpServletRequest
        Returns:
        the data source for a PV
        Throws:
        IOException -  
      • includeExternalServers

        public static boolean includeExternalServers​(javax.servlet.http.HttpServletRequest req)
        To prevent infinite loops and such, we can specify that we do not proxy to external servers for this data retrieval request.
        Parameters:
        req - HttpServletRequest
        Returns:
        boolean True or False