Class ExponentialBackOffImpl

java.lang.Object
org.infinispan.util.ExponentialBackOffImpl
All Implemented Interfaces:
ExponentialBackOff

public class ExponentialBackOffImpl extends Object implements ExponentialBackOff
The default ExponentialBackOff implementation for IRAC (asynchronous cross-site replication).

An exponential back-off implementation with min interval of 500 ms and a maximum of 300'000 ms (5 min). It uses a multiplier of 2 (each timeslot will be increase + 100% for each consecutive retry) and the final wait time is randomized, +- 50% of the timeslot.

Since:
12.0
Author:
Pedro Ruivo