第二种方式:如果使用线程池,不好控制;
《java基础教程由浅入深全面解析threadlocal》【下】
原文:https://www.cnblogs.com/cx2016/p/13275794.html