@Activate(group="provider", value="tps") public class TpsLimitFilter extends Object implements Filter
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.Filter.Listener| 构造器和说明 |
|---|
TpsLimitFilter() |
public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException
Filterinvoke 在接口中 FilterRpcExceptionCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.