Package | Description |
---|---|
org.springframework.cloud.gateway.filter.ratelimit |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<RateLimiter.Response> |
RedisRateLimiter.isAllowed(String routeId,
String id)
This uses a basic token bucket algorithm and relies on the fact that Redis scripts
execute atomically.
|
reactor.core.publisher.Mono<RateLimiter.Response> |
RateLimiter.isAllowed(String routeId,
String id) |
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.