摘要: Java lang3的 StringUtils.isNumeric(str)不能识别负数和小数。 StringUtils.isNumeric(null) = false * StringUtils.isNumeric("") = false * StringUtils.isNumeric(" ") 阅读全文
posted @ 2021-02-20 11:07 marxtsui 阅读(1378) 评论(0) 推荐(0) 编辑
摘要: reference:https://developer.aliyun.com/article/55694 简介: 问题回顾 最近项目功能单元测试中,出现了一个奇怪的bug。远程调试发现,程序进行了2次相同的查询,返回了实体类(ClassA)的2个对象:classAInstance1和classAIn 阅读全文
posted @ 2021-02-19 17:49 marxtsui 阅读(288) 评论(0) 推荐(0) 编辑
摘要: mybatis 缓存失效和坑 mybatis 缓存类型 local cache,也就是所谓的局部缓存。由以下参数控制: localCacheScope 文档 cache,也就是所谓的二级缓存。由以下参数控制: cacheEnabled cache cache-ref useCache flushCa 阅读全文
posted @ 2021-02-19 17:48 marxtsui 阅读(738) 评论(0) 推荐(0) 编辑
摘要: reference:https://www.cnblogs.com/shuchen007/p/9193190.html 频繁的数据库操作是非常耗费性能的(主要是因为对于DB而言,数据是持久化在磁盘中的,因此查询操作需要通过IO,IO操作速度相比内存操作速度慢了好几个量级),尤其是对于一些相同的查询语 阅读全文
posted @ 2021-02-19 17:46 marxtsui 阅读(248) 评论(0) 推荐(0) 编辑
摘要: IBM Rational :http://www.senchtech.com/xq2.aspx?cid=1&scid=121 菜鸟教程:https://www.runoob.com/redis/keys-del.html Svg转Png:https://cn.office-converter.com 阅读全文
posted @ 2021-02-19 17:43 marxtsui 阅读(103) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/nucdy/p/5453207.htmlUML状态图和活动图 统一建模语言UML(Unified Modeling Language)是非专利的第三代建模和规约语言。UML是一种开放的方法,用于说明、可视化、构建和编写一个正在开发的、面向对象的、软件密 阅读全文
posted @ 2021-02-19 17:40 marxtsui 阅读(118) 评论(0) 推荐(0) 编辑
摘要: reference https://blog.csdn.net/weixin_44742132/article/details/104151661 2.11 Stack trace to UML Stack trace to UML 支持根据 JVM 异常堆栈画 UML时序图和通信图。 打开方式 A 阅读全文
posted @ 2021-02-19 17:29 marxtsui 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1.CPU占用最多的前10个进程 ps auxw|head -1;ps auxw|sort -rn -k3|head -10 2.内存消耗最多的前10个进程 ps auxw|head -1;ps auxw|sort -rn -k4|head -10 3.虚拟内存使用最多的前10个进程 ps auxw 阅读全文
posted @ 2021-02-19 17:28 marxtsui 阅读(38) 评论(0) 推荐(0) 编辑
摘要: reference:https://www.cnblogs.com/g2thend/p/12403450.html linux 空间清理# #发现有大量刚刚删除文件的进程存在,kill掉进程(或者重启进程) OK lsof | grep deleted #循环检测发现大目录及其内的文件 du -h 阅读全文
posted @ 2021-02-19 17:15 marxtsui 阅读(128) 评论(0) 推荐(0) 编辑
摘要: reference:https://blog.csdn.net/panchang199266/article/details/95724991 Java8 日期时间API,新增了LocalDate、LocalDateTime、LocalTime等线程安全类: LocalDate:只有日期,诸如:20 阅读全文
posted @ 2021-02-19 17:12 marxtsui 阅读(58) 评论(0) 推荐(0) 编辑