/** * * * <pre> * 做流控规则限制 * </pre> * * @param invoker */ public void disable(HttpClientInvoker invoker) { // 目前仅禁用ip this.ipPools.disableIp(invoker.getShopType(), invoker.getIp()); }
public HttpClientInvoker provide(final String url, final HttpClientInvoker refer) { return this.provide( refer.getShopType(), url, refer.getUrl(), refer.getIp(), refer.getUserAgent()); }