类 TpsLimitFilter

  • 所有已实现的接口:
    Filter

    @Activate(group="provider",
              value="tps")
    public class TpsLimitFilter
    extends Object
    implements Filter
    TpsLimitFilter limit the TPS (transaction per second) for all method of a service or a particular method. Service or method url can define tps or tps.interval to control this control.It use DefaultTPSLimiter as it limit checker. If a provider service method is configured with tps(optionally with tps.interval),then if invocation count exceed the configured tps value (default is -1 which means unlimited) then invocation will get RpcException.