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