Bandwidth

@Target(allowedTargets = [])
annotation class Bandwidth(val capacity: Long, val refill: Refill)(source)

Represents one of the limits of a rate limit bucket.

All bandwidths need to have a token available when requesting a token from the bucket.

See also

Bucket4J Bandwidth

Properties

Link copied to clipboard
Link copied to clipboard