| 程序包 | 说明 |
|---|---|
| org.dromara.soul.plugin.ratelimiter.executor |
| 限定符和类型 | 方法和说明 |
|---|---|
reactor.core.publisher.Mono<RateLimiterResponse> |
RedisRateLimiter.isAllowed(String id,
double replenishRate,
double burstCapacity)
This uses a basic token bucket algorithm and relies on the fact that Redis scripts
execute atomically.
|
Copyright © 2020 dromara. All rights reserved.