object EWMA extends Serializable

Source
EWMA.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EWMA
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def alpha(halfLife: FiniteDuration, collectInterval: FiniteDuration): Double

    Calculate the alpha (decay factor) used in akka.cluster.EWMA from specified half-life and interval between observations.

    Calculate the alpha (decay factor) used in akka.cluster.EWMA from specified half-life and interval between observations. Half-life is the interval over which the weights decrease by a factor of two. The relevance of each data sample is halved for every passing half-life duration, i.e. after 4 times the half-life, a data sample’s relevance is reduced to 6% of its original relevance. The initial relevance of a data sample is given by 1 – 0.5 ^ (collect-interval / half-life).