类 TpsLimitFilter
- java.lang.Object
-
- org.apache.dubbo.rpc.filter.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 useDefaultTPSLimiteras 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.
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.apache.dubbo.rpc.Filter
Filter.Listener
-
-
构造器概要
构造器 构造器 说明 TpsLimitFilter()
-
-
-
方法详细资料
-
invoke
public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException
从接口复制的说明:FilterMake sure call invoker.invoke() in your implementation.- 指定者:
invoke在接口中Filter- 抛出:
RpcException
-
-