Uses of Class
com.github.alex1304.ultimategdbot.api.NewBucketGlobalRateLimiter
| Package | Description |
|---|---|
| com.github.alex1304.ultimategdbot.api |
-
Uses of NewBucketGlobalRateLimiter in com.github.alex1304.ultimategdbot.api
Methods in com.github.alex1304.ultimategdbot.api that return NewBucketGlobalRateLimiter Modifier and Type Method Description static NewBucketGlobalRateLimiterNewBucketGlobalRateLimiter. create()Creates a new global rate limiter of 50 requests per second usingSchedulers.parallel()to inject delays.static NewBucketGlobalRateLimiterNewBucketGlobalRateLimiter. create(int capacity, Duration refillPeriod, reactor.core.scheduler.Scheduler delayScheduler)Creates a new global rate limiter with the given parameters.