BucketState

constructor(remainingTokens: Long, lastUpdated: Instant)

Parameters

remainingTokens

the number of remaining tokens in the bucket

lastUpdated

the last time the bucket was updated