摘要: 首先看这个类的变量: private static final boolean jsfPresent = ClassUtils.isPresent("javax.faces.context.FacesContext", RequestContextHolder.class.getClassLoade 阅读全文
posted @ 2021-09-22 19:58 dlage 阅读(74) 评论(0) 推荐(0) 编辑
摘要: ThreadLocal简介 线程安全的解决思路 互斥同步:synchroniezd和ReentrantLock非阻塞同步:CAS、Atomic无同步方案:栈封闭,本地存储(ThredLocal),可重入代码 著作权归https://pdai.tech所有。 链接:https://www.pdai.t 阅读全文
posted @ 2021-09-22 19:57 dlage 阅读(9) 评论(0) 推荐(0) 编辑