A rate limiter with smooth and bursty variants, where the policy makes you choose one or the other. Has an optional timeout (for waiting on permits). The rate limiter can be used in a standalone way or as part of a Failsafe execution.
See:
RateLimiter.java for the policy interface
RateLimiterExecutor.java for how the policy is used as part of a Failsafe execution
Since this impl doesn't include a warmup period, I'll open a separate issue for that to add later.
A rate limiter with smooth and bursty variants, where the policy makes you choose one or the other. Has an optional timeout (for waiting on permits). The rate limiter can be used in a standalone way or as part of a Failsafe execution.
See:
Since this impl doesn't include a warmup period, I'll open a separate issue for that to add later.
Closes #308