1、ThreadLocal
https://www.jianshu.com/p/98b68c97df9b
https://www.cnblogs.com/dolphin0520/p/3920407.html
https://www.jianshu.com/p/a1cd61fa22da
2、String StringBuffer StringBuilder区别
String类被final修饰,不可变,通过提供的subString,replace等方法产生新的String,用于不频繁变更字符串的情况
StringBuffer,可变字符串,线程安全,适用于频繁追加、改变字符串内容的情况
StringBuilder,可变,非线程安全,比StringBuffer效率高