Class RetrievalState
java.lang.Object
org.epics.archiverappliance.retrieval.RetrievalState
- Direct Known Subclasses:
SampleRetrievalState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataSources(BasicContext context, String pvName, PVTypeInfo typeInfo, Instant start, Instant end, jakarta.servlet.http.HttpServletRequest req) Get the data sources for a PV in the order of their lifetime id...getPVRetrievalMetrics(String pvName) static booleanincludeExternalServers(jakarta.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.protected voidupdateRetrievalMetrics(String pvName, Instant time, String user)
-
Constructor Details
-
RetrievalState
-
-
Method Details
-
getDataSources
public List<DataSourceforPV> getDataSources(BasicContext context, String pvName, PVTypeInfo typeInfo, Instant start, Instant end, jakarta.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- Instantend- Instantreq- HttpServletRequest- Returns:
- the data source for a PV
- Throws:
IOException-
-
includeExternalServers
public static boolean includeExternalServers(jakarta.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
-
getRetrievalMetrics
-
updateRetrievalMetrics
-
getPVRetrievalMetrics
-