com.netflix.atlas.core.util.TimeWave
See theTimeWave companion object
case class TimeWave(wavelength: Duration, step: Long) extends Long => Double
Sine function based on timestamps. The sine values will be pre-computed for a single wavelength and then looked up for all others. This can be significantly faster than using the sine function directly for longer spans.
Value parameters
- step
-
How often to compute the sine value within the wavelength.
- wavelength
-
Span of time for the repeating pattern of the wave.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Long => Doubleclass Objecttrait Matchableclass Any
Members list
In this article