摘要:
1.怎加依赖2.添加注解 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.8.RELEASE</version> 阅读全文
摘要:
1.Tomcat覆盖默认配置 server: tomcat: max-connections: 2000 accept-count: 100 threads: max: 800 min-spare: 100 max-http-header-size: 131072 2.优化线程池配置 @Enable 阅读全文
摘要:
1.pom.xml增加2个依赖2.application.properties增加配置3.启动类增加@EnableCaching4.配置CacheManager5.打印所有缓存内容注意:在当前类中调用缓存方法失效 <!-- cache --><dependency> <groupId>org.spr 阅读全文
摘要:
java.lang.management.*; com.zaxxer.hikari.*; @Scheduled(cron = "0/10 * * * * ?") public void performanceTest() throws Exception { ThreadMXBean threadM 阅读全文
摘要:
jp@gc Thread Group1.BeanShell SamplerString threads = "${__BeanShell(ctx.getThreadGroup().getNumThreads())}";vars.put("threads", threads);//log.info(" 阅读全文
摘要:
String time = vars.get("nowtime"); String today = vars.get("today"); String todayTime = vars.get("todayTime"); log.info(time); log.info(today); String 阅读全文
摘要:
阅读全文
摘要:
Mybatis自动装配 spring.factories MybatisAutoConfiguration AutoConfiguredMapperScannerRegistrar >ImportBeanDefinitionRegistrar registerBeanDefinitions( Cla 阅读全文