public class TokenBucketStrategy extends LeakyBucketStrategy
| Constructor and Description |
|---|
TokenBucketStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String |
name() |
isLimitNewRequestgetBucketLimit, getKey, getQpsLimit, setBucketLimit, setKey, setQpsLimitpublic String name()
name in interface QpsStrategyname in class LeakyBucketStrategyCopyright © 2017–2022 The Apache Software Foundation. All rights reserved.