DedupValueFunction

com.netflix.atlas.core.norm.DedupValueFunction
class DedupValueFunction(step: Long, size: Int, next: ValueFunction) extends ValueFunction

If it is expensive to overwrite, then the immediate pass through behavior of other functions can be undesirable. This implementation uses a buffer to track the last n values over time for a given normalization function. This is typically to allow for use-cases where data may be reported on many nodes and thus some data is received out of order with many values for a given time.

Value parameters

next

Normalized values will be passed to the this function.

size

Size of the buffer.

step

Step size between successive values.

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