摘要: 一、ThreadLocal 在ThreadLocal中设置的值是当前线程独有的。往当前线程中设置的值只有当前线程可以访问 Thread.currentThread.map(ThreadLocal,对象) 每个线程往ThreadLocal中设置的值都是往当前线程的map中设置的,不同的线程设置值在不同 阅读全文
posted @ 2022-04-11 17:19 showMeTheCodes 阅读(32) 评论(0) 推荐(0) 编辑