forceAddTokens

fun forceAddTokens(tokensToAdd: Long)(source)

Adds the specified number of tokensToAdd to the bucket, even if it would result in the bucket containing more than its specified capacity. Delegates directly to the underlying LockFreeBucket's forceAddTokens implementation.

Parameters

tokensToAdd

The number of tokens to add to the bucket.