Class TimescalingProperties
java.lang.Object
cern.nxcals.api.backport.domain.core.constants.TimescalingProperties
- All Implemented Interfaces:
Serializable
Timescale properties class for time scaling purpose. Use the static method
TimeScaleProperties.getTimeScaleProperties(ScaleAlgorithm algorithm, short scaleSize, LoggingTimeInterval
timeInterval)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTimescalingProperties(ScaleAlgorithm timescaleAlgorithm, short scaleSize, LoggingTimeInterval timescaleInterval) -
Method Summary
Modifier and TypeMethodDescriptionabbrev()protected booleanbooleanlongshortlongstatic TimescalingPropertiesgetTimeScaleProperties(ScaleAlgorithm algorithm, short scaleSize, LoggingTimeInterval timeInterval) Returns the time scale propertiesinthashCode()toString()static TimescalingProperties
-
Constructor Details
-
TimescalingProperties
public TimescalingProperties(ScaleAlgorithm timescaleAlgorithm, short scaleSize, LoggingTimeInterval timescaleInterval)
-
-
Method Details
-
getTimeScaleProperties
public static TimescalingProperties getTimeScaleProperties(ScaleAlgorithm algorithm, short scaleSize, LoggingTimeInterval timeInterval) Returns the time scale properties- Parameters:
algorithm- The algorithmscaleSize- The sizetimeInterval- The interval- Returns:
- The time scale properties
-
getTimeMs
public long getTimeMs() -
toString
-
abbrev
-
getNumberOfSecondsInInterval
public long getNumberOfSecondsInInterval() -
toDBString
-
valueOf
-
getTimescaleAlgorithm
-
getScaleSize
public short getScaleSize() -
getTimescaleInterval
-
equals
-
canEqual
-
hashCode
public int hashCode()
-