Package-level declarations
Types
Link copied to clipboard
interface CancellableRateLimit
Allows cancellation of rate limits by refilling tokens, usually delegated on events.
Link copied to clipboard
class DefaultRateLimiter(val scope: RateLimitScope, bucketFactory: BucketFactory, deleteOnRefill: Boolean = true) : RateLimiter, RateLimitHandler, BucketAccessor
Default RateLimiter implementation, based on DefaultRateLimitHandler and DefaultBucketAccessor.
Link copied to clipboard
Retrieves rate limit buckets and handles rate limits by combining BucketAccessor and RateLimitHandler.
Link copied to clipboard
Link copied to clipboard
Container for rate limiters data.
Link copied to clipboard
enum RateLimitScope
Provides rate limit scopes for the default rate limit implementation.