上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 87 下一页
摘要: 原文参考:https://blog.csdn.net/qq_27442469/article/details/90612918 SpringToolSuite添加lombok插件STS中添加lombok插件的好处是在我们写pojo对象时可以不写set和get方法,lombok插件会自动帮我们完成.S 阅读全文
posted @ 2019-08-15 23:45 lshan 阅读(885) 评论(0) 推荐(0)
摘要: 使用AOP 自动打印方法进出, 耗时 logger 依赖: 注解: 切片: Test: 结果: ..... 阅读全文
posted @ 2019-08-15 18:25 lshan 阅读(1055) 评论(0) 推荐(0)
摘要: 转载原文:https://mp.weixin.qq.com/s?__biz=MzI3ODcxMzQzMw==&mid=2247483824&idx=1&sn=7e34a3944a93d649d78d618cf04e0619&scene=21#wechat_redirect java高级应用:线程池全 阅读全文
posted @ 2019-08-15 17:05 lshan 阅读(383) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/l18848956739/article/details/89363321 但在实际开发过程中,在线程池使用过程中可能会遇到各方面的故障,如线程池阻塞,无法提交新任务等。 如果你想监控某一个线程池的执行状态,线程池执行类 ThreadPoolExec 阅读全文
posted @ 2019-08-15 16:58 lshan 阅读(3444) 评论(0) 推荐(0)
摘要: 使用场景: 对于多线程业务, 为了避免OOM , 需要手动控制线程数, 这时,需要获取当前活跃的线程数, 已做控制 /将exes转换为ThreadPoolExecutor,ThreadPoolExecutor有方法 getActiveCount()可以得到当前活动线程数 eg: ExecutorSe 阅读全文
posted @ 2019-08-15 16:47 lshan 阅读(1800) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/ceshi2016/p/8447989.html 以下是copy 部分, 仅作为参考笔记 转载:http://blog.csdn.net/rickyit/article/details/53895060 Xms 是指设定程序启动时占用内存大小。一 阅读全文
posted @ 2019-08-13 11:49 lshan 阅读(569) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/nankeyimengningchenlun/p/9132987.html 阅读全文
posted @ 2019-08-13 09:37 lshan 阅读(170) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/long690276759/article/details/82259550 阅读全文
posted @ 2019-08-12 15:56 lshan 阅读(5740) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/qianjilou/p/7381233.html 阅读全文
posted @ 2019-08-11 21:31 lshan 阅读(970) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/smuxiaolei/p/7484678.html 参考:https://www.cnblogs.com/forget406/p/6045213.html 待整理 阅读全文
posted @ 2019-08-11 19:50 lshan 阅读(176) 评论(0) 推荐(0)
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 87 下一页