MutableBoolean, MutableByte, MutableDouble, MutableFloat, MutableInt, MutableLong, MutableObject, MutableShort
AtomicBoolean
AtomicInteger
ThreadLocal<AtomicInteger> threadLocal = ThreadLocal.withInitial(() -> new AtomicInteger(0));
AtomicInteger value = threadLocal.get();
value.set(user.getId());
// 对本地变量进行操作
//value.incrementAndGet();
//int i=1/0;