类 DefaultTPSLimiter
- java.lang.Object
-
- org.apache.dubbo.rpc.filter.tps.DefaultTPSLimiter
-
- 所有已实现的接口:
TPSLimiter
public class DefaultTPSLimiter extends Object implements TPSLimiter
DefaultTPSLimiter is a default implementation for tps filter. It is an in memory based implementation for storing tps information. It internally use- 另请参阅:
TpsLimitFilter
-
-
方法详细资料
-
isAllowable
public boolean isAllowable(URL url, Invocation invocation)
从接口复制的说明:TPSLimiterjudge if the current invocation is allowed by TPS rule- 指定者:
isAllowable在接口中TPSLimiter- 参数:
url- urlinvocation- invocation- 返回:
- true allow the current invocation, otherwise, return false
-
-