Class RetrievalState
- java.lang.Object
-
- org.epics.archiverappliance.retrieval.RetrievalState
-
- Direct Known Subclasses:
SampleRetrievalState
public class RetrievalState extends Object
-
-
Constructor Summary
Constructors Constructor Description RetrievalState(ConfigService configService)
-
Method Summary
Modifier and Type Method Description List<DataSourceforPV>
getDataSources(BasicContext context, String pvName, PVTypeInfo typeInfo, Timestamp start, Timestamp end, javax.servlet.http.HttpServletRequest req)
Get the data sources for a PV in the order of their lifetime id...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.
-
-
-
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
- BasicContextpvName
- The name of PV.typeInfo
- PVTypeInfostart
- Timestampend
- Timestampreq
- 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
-
-