一句话告诉你什么是ThreadLocal

ThreadLocal提供线程内共享变量,public static 提供应用内共享变量。

posted @ 2020-10-04 10:29  MrFugui  阅读(2)  评论(0编辑  收藏  举报