RollingValueFunction

com.netflix.atlas.core.norm.RollingValueFunction
class RollingValueFunction(step: Long, aggr: (Double, Double) => Double, next: ValueFunction) extends ValueFunction

Value function that will aggregate all values received for a given step interval. Keeps a rolling buffer to allow out of order updates for a brief window and ensure that the normalized values will get output in order.

Value parameters

aggr

Aggregation function to use to combine values for the same interval.

next

Normalized values will be passed to the this function.

step

Normalized distance between samples produced by this class.

Attributes

Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def apply(timestamp: Long, value: Double): Unit

Attributes

Definition Classes
override def close(): Unit

Attributes

Definition Classes
ValueFunction -> AutoCloseable
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any