java.lang.Object
com.alibaba.nacos.plugin.control.tps.barrier.TpsBarrier
直接已知子类:
DefaultNacosTpsBarrier

public abstract class TpsBarrier extends Object
tps barrier for tps point.
作者:
shiyiyue
  • 字段详细资料

  • 构造器详细资料

    • TpsBarrier

      public TpsBarrier(String pointName)
  • 方法详细资料

    • applyTps

      public abstract TpsCheckResponse applyTps(TpsCheckRequest tpsCheckRequest)
      apply tps.
      参数:
      tpsCheckRequest - tpsCheckRequest.
      返回:
      check current tps is allowed.
    • getPointBarrier

      public RuleBarrier getPointBarrier()
    • getPointName

      public String getPointName()
    • applyRule

      public abstract void applyRule(TpsControlRule newControlRule)
      apply rule.
      参数:
      newControlRule - newControlRule.