上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 25 下一页
摘要: @Service public class CollService { @HystrixCollapser(batchMethod = "getMembers", collapserProperties = { //收集1秒内的请求 @HystrixProperty(name = "timerDelayInMilliseconds", value = "1000") }) p... 阅读全文
posted @ 2018-03-12 21:12 zfzf1 阅读(528) 评论(1) 推荐(0) 编辑
摘要: @SpringBootApplication @EnableEurekaClient @EnableCircuitBreaker @ServletComponentScan public class SaleApp { @Bean @LoadBalanced public RestTemplate getRestTemplate() { return new RestTemplat... 阅读全文
posted @ 2018-03-12 17:58 zfzf1 阅读(1347) 评论(0) 推荐(0) 编辑
摘要: @WebFilter(urlPatterns = "/*", filterName = "hystrixFilter") public class MyFilter implements Filter { public void init(FilterConfig filterConfig) throws ServletException { } public void doFi... 阅读全文
posted @ 2018-03-12 17:56 zfzf1 阅读(128) 评论(0) 推荐(0) 编辑
摘要: @Service public class CacheService { @Autowired private RestTemplate restTpl; @CacheResult @HystrixCommand public Member cacheMember(Integer id) { System.out.println("调用 cacheMember 方法"); /... 阅读全文
posted @ 2018-03-12 17:54 zfzf1 阅读(327) 评论(0) 推荐(0) 编辑
摘要: org.springframework.cloud spring-cloud-dependencies Dalston.SR3 pom import org.springframework.cloud spring-cloud-starter-config org.springfra... 阅读全文
posted @ 2018-03-12 17:32 zfzf1 阅读(160) 评论(0) 推荐(0) 编辑
摘要: restserver feign client interface feign client 阅读全文
posted @ 2018-03-11 09:52 zfzf1 阅读(142) 评论(0) 推荐(0) 编辑
摘要: io.github.openfeign feign-core 9.5.0 io.github.openfeign feign-gson 9.5.0 @R... 阅读全文
posted @ 2018-03-10 15:44 zfzf1 阅读(116) 评论(0) 推荐(0) 编辑
摘要: org.apache.cxf cxf-core 3.1.10 org.apache.cxf cxf-rt-rs-client 3.1.10 publ... 阅读全文
posted @ 2018-03-10 15:41 zfzf1 阅读(129) 评论(0) 推荐(0) 编辑
摘要: provider consumer 阅读全文
posted @ 2018-03-10 15:00 zfzf1 阅读(329) 评论(0) 推荐(0) 编辑
摘要: IRule 配置 阅读全文
posted @ 2018-03-10 14:50 zfzf1 阅读(996) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 25 下一页