Uses of Class
org.epics.archiverappliance.utils.nio.ArchPaths
-
Packages that use ArchPaths Package Description edu.stanford.slac.archiverappliance.PlainPB Files supporting the PlainPBStoragePlugin; one of the main StoragePlugin's in the Archiver Appliance.org.epics.archiverappliance.common Contains classes and interfaces fundamental and common to all the web apps. -
-
Uses of ArchPaths in edu.stanford.slac.archiverappliance.PlainPB
Methods in edu.stanford.slac.archiverappliance.PlainPB with parameters of type ArchPaths Modifier and Type Method Description static Path[]
PlainPBPathNameUtility. getAllPathsForPV(ArchPaths archPaths, String rootFolder, String pvName, String extension, PartitionGranularity granularity, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
This method returns all the paths that could contain data for a PV sorted according to the name (which in our case should translate to time).static Path
PlainPBPathNameUtility. getMostRecentPathBeforeTime(ArchPaths archPaths, String rootFolder, String pvName, Timestamp startts, String extension, PartitionGranularity granularity, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
If a PV changes infrequently, we often will not have a sample in the given time frame.static Path
PlainPBPathNameUtility. getPathNameForTime(PlainPBStoragePlugin plugin, String pvName, long epochSeconds, ArchPaths paths, PVNameToKeyMapping pv2key)
static Path
PlainPBPathNameUtility. getPathNameForTime(String rootFolder, String pvName, long epochSeconds, boolean useReducedData, PartitionGranularity partitionGranularity, ArchPaths paths, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
static Path
PlainPBPathNameUtility. getPathNameForTime(String rootFolder, String pvName, long epochSeconds, PartitionGranularity partitionGranularity, ArchPaths paths, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
static Path[]
PlainPBPathNameUtility. getPathsBeforeCurrentPartition(ArchPaths archPaths, String rootFolder, String pvName, Timestamp currentTime, String extension, PartitionGranularity granularity, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
The PlainPB storage plugin partitions files according to time and partition granularity.static Path[]
PlainPBPathNameUtility. getPathsWithData(ArchPaths archPaths, String rootFolder, String pvName, Timestamp startts, Timestamp endts, String extension, PartitionGranularity granularity, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
Given a parent folder, this method returns a list of all the paths with data that falls within the specified timeframe.static Path
PlainPBPathNameUtility. getPreviousPartitionBeforeTime(ArchPaths archPaths, String rootFolder, String pvName, Timestamp startts, String extension, PartitionGranularity granularity, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
If a PV changes infrequently, we often will not have a sample in the given time frame.static Path
PlainPBPathNameUtility. getSparsifiedPathNameForTime(PlainPBStoragePlugin plugin, String pvName, long epochSeconds, ArchPaths paths, PVNameToKeyMapping pv2key)
static Path
PlainPBPathNameUtility. getSparsifiedPathNameForTime(String rootFolder, String pvName, long epochSeconds, PartitionGranularity partitionGranularity, ArchPaths paths, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
-
Uses of ArchPaths in org.epics.archiverappliance.common
Methods in org.epics.archiverappliance.common that return ArchPaths Modifier and Type Method Description ArchPaths
BasicContext. getPaths()
The PlainPB plugin deals with paths that can be translated into NIO by our implementation of Paths.
-