类 WarmUpRateLimiterController
java.lang.Object
com.alibaba.csp.sentinel.slots.block.flow.controller.WarmUpController
com.alibaba.csp.sentinel.slots.block.flow.controller.WarmUpRateLimiterController
- 所有已实现的接口:
TrafficShapingController
- 从以下版本开始:
- 1.4.0
- 作者:
- jialiang.linjl
-
字段概要
从类继承的字段 com.alibaba.csp.sentinel.slots.block.flow.controller.WarmUpController
count, lastFilledTime, slope, storedTokens, warningToken -
构造器概要
构造器构造器说明WarmUpRateLimiterController(double count, int warmUpPeriodSec, int timeOutMs, int coldFactor) -
方法概要
从类继承的方法 com.alibaba.csp.sentinel.slots.block.flow.controller.WarmUpController
syncToken
-
构造器详细资料
-
WarmUpRateLimiterController
public WarmUpRateLimiterController(double count, int warmUpPeriodSec, int timeOutMs, int coldFactor)
-
-
方法详细资料
-
canPass
从接口复制的说明:TrafficShapingControllerCheck whether given resource entry can pass with provided count.- 指定者:
canPass在接口中TrafficShapingController- 覆盖:
canPass在类中WarmUpController- 参数:
node- resource nodeacquireCount- count to acquire- 返回:
- true if the resource entry can pass; false if it should be blocked
-
canPass
从接口复制的说明:TrafficShapingControllerCheck whether given resource entry can pass with provided count.- 指定者:
canPass在接口中TrafficShapingController- 覆盖:
canPass在类中WarmUpController- 参数:
node- resource nodeacquireCount- count to acquireprioritized- whether the request is prioritized- 返回:
- true if the resource entry can pass; false if it should be blocked
-