Class GetDataAtTime
java.lang.Object
org.epics.archiverappliance.retrieval.GetDataAtTime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidgetDataAtTime(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ConfigService configService) The main getDataAtTime function.static voidgetDataAtTimeForAppliance(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ConfigService configService) Get data at a specified time from the data stores for the specified set of PV's.static PVWithDatagetDataAtTimeForPVFromStores(String pvName, Instant atTime, Period searchPeriod, ConfigService configService) Async method for getting data for a pv from its list of stores.
-
Constructor Details
-
GetDataAtTime
public GetDataAtTime()
-
-
Method Details
-
getDataAtTime
public static void getDataAtTime(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ConfigService configService) throws javax.servlet.ServletException, IOException, InterruptedException, ExecutionException The main getDataAtTime function. Pass in a list of PVs and a time.- Parameters:
req-resp-configService-- Throws:
javax.servlet.ServletExceptionIOExceptionInterruptedExceptionExecutionException
-
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(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ConfigService configService) throws javax.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:
javax.servlet.ServletExceptionIOExceptionInterruptedExceptionExecutionException
-