Package io.github.resilience4j.ratelimiter.internal
@NonNullApi
@NonNullFields
package io.github.resilience4j.ratelimiter.internal
-
ClassesClassDescription
AtomicRateLimitersplits all nanoseconds from the start of epoch into cycles.AtomicRateLimiter.Staterepresents immutable state ofAtomicRateLimiterwhere: activeCycle -AtomicRateLimitercycle number that was used by the lastRateLimiter.acquirePermission()call.Backend RateLimiter manager.A RateLimiter implementation that consists ofSemaphoreand scheduler that will refresh permissions after eachRateLimiterConfig.getLimitRefreshPeriod(), you can invokeSemaphoreBasedRateLimiter.shutdown()to close the limiter.