Class Jitter.Context
java.lang.Object
io.awspring.cloud.sqs.listener.errorhandler.Jitter.Context
- Enclosing interface:
- Jitter
Context for jitter calculations.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Context
Create a new Context instance.- Parameters:
timeout- the timeout value (must be >= 1)randomSupplier- the random supplier (must not be null)
-
-
Method Details
-
getTimeout
public int getTimeout() -
getRandomSupplier
-