OnlineDelay

com.netflix.atlas.core.algorithm.OnlineDelay
See theOnlineDelay companion object
case class OnlineDelay(buf: RollingBuffer) extends OnlineAlgorithm

Delays the values by the window size. This is similar to the :offset operator except that it can be applied to any input line instead of just changing the time window fetched with a DataExpr. Short delays can be useful for alerting to detect changes in slightly shifted trend lines.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def isEmpty: Boolean

Returns true if the state is the same as if it had been reset. This means that the state does not need to be stored and can just be recreated if a new values shows up. When processing a stream this is needed to avoid a memory leak for state objects if there are some transient values associated with a group by. This check becomes the effective lifespan for the state if no data is received for a given interval.

Returns true if the state is the same as if it had been reset. This means that the state does not need to be stored and can just be recreated if a new values shows up. When processing a stream this is needed to avoid a memory leak for state objects if there are some transient values associated with a group by. This check becomes the effective lifespan for the state if no data is received for a given interval.

Attributes

Definition Classes
override def next(v: Double): Double

Apply the next value from the input and return the computed value.

Apply the next value from the input and return the computed value.

Attributes

Definition Classes
override def reset(): Unit

Reset the state of the algorithm.

Reset the state of the algorithm.

Attributes

Definition Classes
override def state: AlgoState

Capture the current state of the algorithm. It can be restored in a new instance with the [OnlineAlgorithm#apply] method.

Capture the current state of the algorithm. It can be restored in a new instance with the [OnlineAlgorithm#apply] method.

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product