public interface ThrottleManager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_THROTTLE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default Throttle |
getCountBased() |
Throttle |
getCountBased(java.lang.String throttleName)
获取基于次数的节流器
|
default Throttle |
getTimeBased() |
Throttle |
getTimeBased(java.lang.String throttleName)
获取基于时间的节流器,单位:毫秒。
|
static final java.lang.String DEFAULT_THROTTLE_NAME