public final class DecayConfig extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
double |
multiplier |
static DecayConfig |
NEVER |
long |
period |
| Constructor and Description |
|---|
DecayConfig(double multiplier)
DecayConfig constructor with no period.
|
DecayConfig(double multiplier,
java.time.Duration period)
DecayConfig constructor with a period.
|
public static final DecayConfig NEVER
public final double multiplier
public final long period
public DecayConfig(double multiplier)
multiplier - The exponential moving average coefficientpublic DecayConfig(double multiplier,
java.time.Duration period)
multiplier - The exponential moving average coefficientperiod - The time period where the data is validCopyright © 2015. All rights reserved.