![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
并发编程
文章平均质量分 89
有个有趣的灵魂
这个作者很懒,什么都没留下…
展开
-
java并发编程--ThreadLocal
什么是ThreadLocal 1.先看一下jdk文档的定义This class provides thread-local variables. These variables differ from their normal counterparts in that each thread that accesses one (via its {@code get} or {@co...原创 2019-10-18 18:19:06 · 202 阅读 · 0 评论 -
多线程与事务回滚
使用Callable接口获取并发任务结果,实现对线程异常的感知并重新抛出运行时异常实现事务回滚。原创 2016-05-10 14:43:08 · 11887 阅读 · 0 评论