Uses of Class
org.epics.archiverappliance.utils.nio.ArchPaths
Packages that use ArchPaths
-
Uses of ArchPaths in edu.stanford.slac.archiverappliance.PlainPB
Methods in edu.stanford.slac.archiverappliance.PlainPB with parameters of type ArchPathsModifier and TypeMethodDescriptionstatic 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 PathPlainPBPathNameUtility.getFileName(String rootFolder, String pvName, Instant ts, String extension, PartitionGranularity partitionGranularity, boolean createParentFolder, ArchPaths paths, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key) This method returns the path for a given pv for a given time based on the partitionGranularitystatic PathPlainPBPathNameUtility.getMostRecentPathBeforeTime(ArchPaths archPaths, String rootFolder, String pvName, Instant 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 PathPlainPBPathNameUtility.getPathNameForTime(PlainPBStoragePlugin plugin, String pvName, Instant ts, ArchPaths paths, PVNameToKeyMapping pv2key) static PathPlainPBPathNameUtility.getPathNameForTime(String rootFolder, String pvName, Instant ts, PartitionGranularity partitionGranularity, ArchPaths paths, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key) static Path[]PlainPBPathNameUtility.getPathsBeforeCurrentPartition(ArchPaths archPaths, String rootFolder, String pvName, Instant 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, Instant startts, Instant 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 PathPlainPBPathNameUtility.getPreviousPartitionBeforeTime(ArchPaths archPaths, String rootFolder, String pvName, Instant 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 PathPlainPBPathNameUtility.getSparsifiedPathNameForTime(PlainPBStoragePlugin plugin, String pvName, Instant ts, ArchPaths paths, PVNameToKeyMapping pv2key) static PathPlainPBPathNameUtility.getSparsifiedPathNameForTime(String rootFolder, String pvName, Instant ts, 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