Class DataSourceforPV
java.lang.Object
org.epics.archiverappliance.retrieval.DataSourceforPV
- All Implemented Interfaces:
Comparable<DataSourceforPV>
Represents a data source for data for a PV
- Author:
- mshankar
-
Constructor Summary
ConstructorsConstructorDescriptionDataSourceforPV(String pvName, StoragePlugin storagePlugin, int lifetimeid, Instant dataStartTime, Instant dataEndTime) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(DataSourceforPV other) booleanintinthashCode()booleanHas the data source resolution specified the times for which we are fetching the data? Note this is an optional optimization and is most often used when getting data from the ChannelArchiver.
-
Constructor Details
-
DataSourceforPV
public DataSourceforPV(String pvName, StoragePlugin storagePlugin, int lifetimeid, Instant dataStartTime, Instant dataEndTime)
-
-
Method Details
-
getPvName
-
getDataStartTime
-
getDataEndTime
-
getStoragePlugin
-
getLifetimeId
public int getLifetimeId() -
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<DataSourceforPV>
-
isOverridingStartAndEndTimes
public boolean isOverridingStartAndEndTimes()Has the data source resolution specified the times for which we are fetching the data? Note this is an optional optimization and is most often used when getting data from the ChannelArchiver. Most other times, we let this default to the start time and end time of the data retrieval request.- Returns:
- boolean True or False
-
getRequestTimeSpan
-