类 DefaultTPSLimiter

    • 构造器详细资料

      • DefaultTPSLimiter

        public DefaultTPSLimiter()
    • 方法详细资料

      • isAllowable

        public boolean isAllowable​(URL url,
                                   Invocation invocation)
        从接口复制的说明: TPSLimiter
        judge if the current invocation is allowed by TPS rule
        指定者:
        isAllowable 在接口中 TPSLimiter
        参数:
        url - url
        invocation - invocation
        返回:
        true allow the current invocation, otherwise, return false