Package io.dropwizard.redis.delay
Class DecorrelatedJitterDelayFactory
- java.lang.Object
-
- io.dropwizard.redis.delay.DecorrelatedJitterDelayFactory
-
- All Implemented Interfaces:
io.dropwizard.jackson.Discoverable,DelayFactory
public class DecorrelatedJitterDelayFactory extends Object implements DelayFactory
-
-
Constructor Summary
Constructors Constructor Description DecorrelatedJitterDelayFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Supplier<io.lettuce.core.resource.Delay>build()longgetBase()io.dropwizard.util.DurationgetLowerBound()io.dropwizard.util.DurationgetUpperBound()voidsetBase(long base)voidsetLowerBound(io.dropwizard.util.Duration lowerBound)voidsetUpperBound(io.dropwizard.util.Duration upperBound)
-
-
-
Method Detail
-
getLowerBound
public io.dropwizard.util.Duration getLowerBound()
-
setLowerBound
public void setLowerBound(io.dropwizard.util.Duration lowerBound)
-
getUpperBound
public io.dropwizard.util.Duration getUpperBound()
-
setUpperBound
public void setUpperBound(io.dropwizard.util.Duration upperBound)
-
getBase
public long getBase()
-
setBase
public void setBase(long base)
-
build
public Supplier<io.lettuce.core.resource.Delay> build()
- Specified by:
buildin interfaceDelayFactory
-
-