availableTokens

abstract fun availableTokens(key: String, configuration: RateLimitConfiguration): Long

Returns how many tokens remain in the bucket. Note that this data may be stale when it comes back, as time has elapsed and other pods could have taken tokens in the meantime.