Uses of Class
org.epics.archiverappliance.common.PartitionGranularity
-
Packages that use PartitionGranularity 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.org.epics.archiverappliance.common.mergededup org.epics.archiverappliance.etl Functionality pertaining to theetl
webapp.org.epics.archiverappliance.utils.blackhole Functionality pertaining to the blackhole storage plugin. -
-
Uses of PartitionGranularity in edu.stanford.slac.archiverappliance.PlainPB
Methods in edu.stanford.slac.archiverappliance.PlainPB that return PartitionGranularity Modifier and Type Method Description PartitionGranularity
PlainPBStoragePlugin. getPartitionGranularity()
Methods in edu.stanford.slac.archiverappliance.PlainPB with parameters of type PartitionGranularity Modifier and Type Method Description static edu.stanford.slac.archiverappliance.PlainPB.PlainPBPathNameUtility.StartEndTimeFromName
PlainPBPathNameUtility. determineTimesFromFileName(String pvName, String finalNameComponent, PartitionGranularity partitionGranularity, PVNameToKeyMapping pv2key)
Determines the times for a chunk simply from the file name.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(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(String rootFolder, String pvName, long epochSeconds, PartitionGranularity partitionGranularity, ArchPaths paths, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
void
PlainPBStoragePlugin. setPartitionGranularity(PartitionGranularity partitionGranularity)
Constructors in edu.stanford.slac.archiverappliance.PlainPB with parameters of type PartitionGranularity Constructor Description AppendDataStateData(PartitionGranularity partitionGranularity, String rootFolder, String desc, Timestamp lastKnownTimestamp, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
-
Uses of PartitionGranularity in org.epics.archiverappliance.common
Methods in org.epics.archiverappliance.common that return PartitionGranularity Modifier and Type Method Description PartitionGranularity
PartitionGranularity. getNextLargerGranularity()
static PartitionGranularity
PartitionGranularity. valueOf(String name)
Returns the enum constant of this type with the specified name.static PartitionGranularity[]
PartitionGranularity. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.epics.archiverappliance.common with parameters of type PartitionGranularity Modifier and Type Method Description static long
TimeUtils. getNextPartitionFirstSecond(long epochSeconds, PartitionGranularity granularity)
Given an epoch seconds and a granularity, this method gives you the first second in the next partition as epoch seconds.static String
TimeUtils. getPartitionName(long epochSeconds, PartitionGranularity granularity)
Returns a partition name for the given epoch second based on the partition granularity.static long
TimeUtils. getPreviousPartitionLastSecond(long epochSeconds, PartitionGranularity granularity)
Given an epoch seconds and a granularity, this method gives you the last second in the previous partition as epoch seconds.boolean
PartitionGranularity. isSmallerThan(PartitionGranularity other)
-
Uses of PartitionGranularity in org.epics.archiverappliance.common.mergededup
Methods in org.epics.archiverappliance.common.mergededup that return PartitionGranularity Modifier and Type Method Description PartitionGranularity
MergeDedupStoragePlugin. getPartitionGranularity()
-
Uses of PartitionGranularity in org.epics.archiverappliance.etl
Methods in org.epics.archiverappliance.etl that return PartitionGranularity Modifier and Type Method Description PartitionGranularity
ETLInfo. getGranularity()
PartitionGranularity
ETLDest. getPartitionGranularity()
PartitionGranularity
ETLSource. getPartitionGranularity()
Constructors in org.epics.archiverappliance.etl with parameters of type PartitionGranularity Constructor Description ETLInfo(String pvName, ArchDBRTypes type, String key, PartitionGranularity granularity, ETLStreamCreator strmCreator, Event firstEvent, long size)
-
Uses of PartitionGranularity in org.epics.archiverappliance.utils.blackhole
Methods in org.epics.archiverappliance.utils.blackhole that return PartitionGranularity Modifier and Type Method Description PartitionGranularity
BlackholeStoragePlugin. getPartitionGranularity()
-