摘要: jvm五大内存区域(即jvm运行时数据区),描述的是类被加载时,经过解析后,存储到特定的数据区。方法区和堆是所有线程共享的,而栈和计数器是线程私有的。栈处理程序运行的问题,堆处理数据的存储问题。a56爆大奖在线娱乐才有堆栈分离1,方法区:又被称为元空间,用来存储类的信息,例如:方法,方法名,返回值,常量。当它无法满 阅读全文
posted @ 2021-07-11 21:01 XUMT111 阅读(37) 评论(0) 推荐(0) 编辑
摘要: Lettuce @Value("${spring.redis-sentinel.nodes}") private String redisNodes; //192.xx.66:26379,192.xx.65:26379,192.xx.64:26379 @Value("${spring.redis-s 阅读全文
posted @ 2021-07-03 17:09 XUMT111 阅读(45) 评论(0) 推荐(0) 编辑
摘要: doctor104-Xms4096M -Xmx4096M -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=256m -XX:+DisableExplicitGC -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:Initiat 阅读全文
posted @ 2021-05-16 17:57 XUMT111 阅读(144) 评论(0) 推荐(0) 编辑
摘要: logging.level.cn.com.dao=debug 数据库mybatis的sql日志需要设置为debug logback-spring.xml debug模式需要全部改为debug <root level="debug"> <appender-ref ref="CONSOLE"/> </r 阅读全文
posted @ 2021-03-28 16:26 XUMT111 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 测试时参数不能一样,否则无效,超时时间设置长点以免影响多线程测试 1,超时也走降级策略 2,maxQueueSize 最大排队长度。默认-1,使用SynchronousQueue。其他值则使用 LinkedBlockingQueue。如果要从-1换成其他值则需重启 设置该值即可实现多线程降级 2,若 阅读全文
posted @ 2020-12-27 18:57 XUMT111 阅读(88) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/lyf_ldh/article/details/80976552 通用mapper扩展通用接口和Example 用法 http://codingdict.com/sources/java/org.apache.ibatis.annotations.html 阅读全文
posted @ 2020-11-22 16:54 XUMT111 阅读(416) 评论(0) 推荐(0) 编辑
摘要: @ConfigurationProperties(prefix = "mysql.one") 后置处理,配置文件中的指定键值对映射到一个java实体类上 sharding-jdbc 分库分表 /hongdada/p/9324473.htmlhttps:/ 阅读全文
posted @ 2020-11-07 14:52 XUMT111 阅读(4062) 评论(0) 推荐(0) 编辑
摘要: 格式化返回日期字段 com.fasterxml.jackson.annotation @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") private Date createTime; 1,当执行new操作时候 2,当执行Cl 阅读全文
posted @ 2020-09-05 18:33 XUMT111 阅读(200) 评论(0) 推荐(0) 编辑
摘要: feign @RequestMapping(value="/myTestHttp",method = RequestMethod.GET) TestReponse myFeignTest2(@RequestParam("name") String name,@RequestParam("age") 阅读全文
posted @ 2020-08-16 17:13 XUMT111 阅读(209) 评论(0) 推荐(0) 编辑
摘要: import com.alibaba.druid.filter.Filter; import com.alibaba.druid.pool.DruidDataSource; import org.mybatis.spring.SqlSessionFactoryBean; import org.spr 阅读全文
posted @ 2020-08-15 14:44 XUMT111 阅读(308) 评论(0) 推荐(0) 编辑