Uses of Class
org.epics.archiverappliance.utils.nio.ArchPaths
Packages that use ArchPaths
-
Uses of ArchPaths in edu.stanford.slac.archiverappliance.plain
Methods in edu.stanford.slac.archiverappliance.plain with parameters of type ArchPathsModifier and TypeMethodDescriptionPathResolver.get(ArchPaths paths, boolean createParentFolder, String rootFolder, String pvPathComponent, String pvKey) static Path[]PathNameUtility.getAllPathsForPV(ArchPaths archPaths, String rootFolder, String pvName, String extension, PathResolver pathResolver, 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 PathPathNameUtility.getFileName(String rootFolder, String pvName, Instant ts, String extension, PartitionGranularity partitionGranularity, boolean createParentFolder, ArchPaths paths, PathResolver pathResolver, PVNameToKeyMapping pv2key) This method returns the path for a given pv for a given time based on the partitionGranularitystatic PathPathNameUtility.getMostRecentPathBeforeTime(ArchPaths archPaths, String rootFolder, String pvName, Instant startts, String extension, PartitionGranularity granularity, PathResolver pathResolver, PVNameToKeyMapping pv2key) If a PV changes infrequently, we often will not have a sample in the given time frame.static PathPathNameUtility.getPathNameForTime(PlainStoragePlugin plugin, String pvName, Instant ts, ArchPaths paths, PVNameToKeyMapping pv2key) static PathPathNameUtility.getPathNameForTime(String rootFolder, String pvName, Instant ts, PartitionGranularity partitionGranularity, ArchPaths paths, PathResolver pathResolver, PVNameToKeyMapping pv2key, String fileExtension) static Path[]PathNameUtility.getPathsBeforeCurrentPartition(ArchPaths archPaths, String rootFolder, String pvName, Instant currentTime, String extension, PartitionGranularity granularity, PathResolver pathResolver, PVNameToKeyMapping pv2key) The PlainPB storage plugin partitions files according to time and partition granularity.static Path[]PathNameUtility.getPathsWithData(ArchPaths archPaths, String rootFolder, String pvName, Instant startts, Instant endts, String extension, PartitionGranularity granularity, PathResolver pathResolver, PVNameToKeyMapping pv2key) Given a parent folder, this method returns a list of all the paths with data that falls within the specified timeframe.static PathPathNameUtility.getPreviousPartitionBeforeTime(ArchPaths archPaths, String rootFolder, String pvName, Instant startts, String extension, PartitionGranularity granularity, PathResolver pathResolver, PVNameToKeyMapping pv2key) If a PV changes infrequently, we often will not have a sample in the given time frame. -
Uses of ArchPaths in org.epics.archiverappliance.common
Methods in org.epics.archiverappliance.common that return ArchPaths