类 DefaultNacosTpsBarrier
java.lang.Object
com.alibaba.nacos.plugin.control.tps.barrier.TpsBarrier
com.alibaba.nacos.plugin.control.tps.barrier.DefaultNacosTpsBarrier
tps barrier for tps point.
- 作者:
- shiyiyue
-
字段概要
从类继承的字段 com.alibaba.nacos.plugin.control.tps.barrier.TpsBarrier
pointBarrier, pointName, ruleBarrierCreator -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidapplyRule(TpsControlRule newControlRule) apply rule.applyTps(TpsCheckRequest tpsCheckRequest) apply tps.从类继承的方法 com.alibaba.nacos.plugin.control.tps.barrier.TpsBarrier
getPointBarrier, getPointName
-
构造器详细资料
-
DefaultNacosTpsBarrier
-
-
方法详细资料
-
applyTps
apply tps.- 指定者:
applyTps在类中TpsBarrier- 参数:
tpsCheckRequest- tpsCheckRequest.- 返回:
- check current tps is allowed.
-
applyRule
apply rule.- 指定者:
applyRule在类中TpsBarrier- 参数:
newControlRule- newControlRule.
-