AbstractTokenBucket
DefaultTokenBucket
StrictTokenBucket
void
refreshCurrentTokenNum(long timestamp)
boolean
tryConsume(long tokenNum)