public class EWMA extends Object
EWMA(double alpha, long interval, TimeUnit intervalUnit)
double
getRate(TimeUnit rateUnit)
void
tick()
update(long n)
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public EWMA(double alpha, long interval, TimeUnit intervalUnit)
alpha
interval
intervalUnit
public void update(long n)
n
public void tick()
public double getRate(TimeUnit rateUnit)
rateUnit
Copyright © 2016 The Apache Software Foundation. All rights reserved.