接口 TPSLimiter

    • 方法详细资料

      • isAllowable

        boolean isAllowable​(URL url,
                            Invocation invocation)
        judge if the current invocation is allowed by TPS rule
        参数:
        url - url
        invocation - invocation
        返回:
        true allow the current invocation, otherwise, return false