Class AtomicRateLimiter.State

java.lang.Object
io.github.resilience4j.ratelimiter.internal.AtomicRateLimiter.State
Enclosing class:
AtomicRateLimiter

private static class AtomicRateLimiter.State extends Object

AtomicRateLimiter.State represents immutable state of AtomicRateLimiter where:

  • Field Details

    • config

      private final RateLimiterConfig config
    • activeCycle

      private final long activeCycle
    • activePermissions

      private final int activePermissions
    • nanosToWait

      private final long nanosToWait
  • Constructor Details

    • State

      private State(RateLimiterConfig config, long activeCycle, int activePermissions, long nanosToWait)