com.alibaba.dubbo.rpc.filter.tps
Interface TPSLimiter

All Known Implementing Classes:
DefaultTPSLimiter

public interface TPSLimiter

Author:
kimi

Method Summary
 boolean isAllowable(URL url, Invocation invocation)
          根据 tps 限流规则判断是否限制此次调用.
 

Method Detail

isAllowable

boolean isAllowable(URL url,
                    Invocation invocation)
根据 tps 限流规则判断是否限制此次调用.

Parameters:
url - url
invocation - invocation
Returns:
true 则允许调用,否则不允许


Copyright © 2012–2017 Alibaba. All rights reserved.