Package io.dropwizard.redis.delay
Class ExponentialDelayFactory
- java.lang.Object
-
- io.dropwizard.redis.delay.ExponentialDelayFactory
-
- All Implemented Interfaces:
io.dropwizard.jackson.Discoverable,DelayFactory
public class ExponentialDelayFactory extends Object implements DelayFactory
-
-
Constructor Summary
Constructors Constructor Description ExponentialDelayFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Supplier<io.lettuce.core.resource.Delay>build()io.dropwizard.util.DurationgetLowerBound()intgetPowersOf()io.dropwizard.util.DurationgetUpperBound()voidsetLowerBound(io.dropwizard.util.Duration lowerBound)voidsetPowersOf(int powersOf)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)
-
getPowersOf
public int getPowersOf()
-
setPowersOf
public void setPowersOf(int powersOf)
-
build
public Supplier<io.lettuce.core.resource.Delay> build()
- Specified by:
buildin interfaceDelayFactory
-
-