03 2018 档案
摘要:java.net.UnknowHostException 调用 InetAdressImpl hostname:查看本机名称 若本机名称不是一个ip地址,则必须在 /etc/hosts中配置对应 ip 如 hotstname 127.0.0.1 否则 java.net.InetAddress.get
阅读全文
摘要:快捷方式防在 C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
阅读全文
摘要:create index ix_ba_emp_code_re on t_base_employee(reverse(employee_code)); select * from t_base_employee t where t.employee_code like 'dss%' or revers
阅读全文
摘要:import java.util.LinkedList; import java.util.Queue; import java.util.Random; /** * Simple Java program to demonstrate How to use wait, notify and notifyAll() * method in Java by solving producer c...
阅读全文
摘要:http://localhost:9000/source/hello/dd
阅读全文
摘要:http://localhost:8082/hystrix http://localhost:8081/hystrix.stream
阅读全文
摘要:server: port: 8081 spring: application: name: spring-hy-sale feign: hystrix: enabled: true hystrix: command: HelloClient#toHello(): execution: isolation: t...
阅读全文
摘要:@Service public class CollService { @HystrixCollapser(batchMethod = "getMembers", collapserProperties = { //收集1秒内的请求 @HystrixProperty(name = "timerDelayInMilliseconds", value = "1000") }) p...
阅读全文
摘要:@SpringBootApplication @EnableEurekaClient @EnableCircuitBreaker @ServletComponentScan public class SaleApp { @Bean @LoadBalanced public RestTemplate getRestTemplate() { return new RestTemplat...
阅读全文
摘要:@WebFilter(urlPatterns = "/*", filterName = "hystrixFilter") public class MyFilter implements Filter { public void init(FilterConfig filterConfig) throws ServletException { } public void doFi...
阅读全文
摘要:@Service public class CacheService { @Autowired private RestTemplate restTpl; @CacheResult @HystrixCommand public Member cacheMember(Integer id) { System.out.println("调用 cacheMember 方法"); /...
阅读全文
摘要:org.springframework.cloud spring-cloud-dependencies Dalston.SR3 pom import org.springframework.cloud spring-cloud-starter-config org.springfra...
阅读全文
摘要:restserver feign client interface feign client
阅读全文
摘要:io.github.openfeign feign-core 9.5.0 io.github.openfeign feign-gson 9.5.0 @R...
阅读全文
摘要:org.apache.cxf cxf-core 3.1.10 org.apache.cxf cxf-rt-rs-client 3.1.10 publ...
阅读全文
摘要:配置说明 注意-转驼峰 english http://cloud.spring.io/spring-cloud-static/Dalston.SR2/#spring-cloud-feign china https://springcloud.cc/spring-cloud-dalston.html
阅读全文
摘要:datasource节点添加 以下 抛如下异常: 2016-12-27 14:35:22.773 [Druid-ConnectionPool-Destroy-1821010113] ERROR com.alibaba.druid.pool.DruidDataSource - abandon conn
阅读全文
摘要:ServerResponse方式 测试 耗时 servlet方式 测试同上 结果 总结100W个线程的情况下 spring 5提供的 webFlux 相比 servlet模型 慢了17秒
阅读全文
摘要:C:\0maven-repository nexus-aliyun central Nexus aliyun http://maven.aliyun.com/nexus/content/groups/public
阅读全文
摘要:http://start.spring.io/
阅读全文
摘要:进入docker 容器 exec -it f4 bash ls pwd which nginx ps -ef exit
阅读全文
摘要:http://www.cnblogs.com/zfzf1/p/7689614.html sed -i '1a nameserver 8.8.8.8' /etc/resolv.conf yum -y install docker 启动docker并设置为开机自启 docker images
阅读全文
摘要:执行 sed -i '1a nameserver 8.8.8.8' /etc/resolv.conf
阅读全文