Refill

@Target(allowedTargets = [])
annotation class Refill(val type: RefillType, val tokens: Long, val period: Long, val periodUnit: ChronoUnit)(source)

Defines how the tokens are refilled on each bandwidth.

See also

Bucket4J Refill

Properties

Link copied to clipboard

The period over which tokens will be added progressively (greedy), or which tokens will be added at once (intervally)

Link copied to clipboard

The unit of period

Link copied to clipboard

The number of tokens added to the bandwidth

Link copied to clipboard