ThreadLocal
-
ThreadlocalStaticPL/JAVA 2019. 8. 19. 22:28
1. Overview Clarify what Threadlocal is and how and when to use it. 2. Introduction Threadlocal has the ability to store data individually for the current thread. Thus, even if multiple threads are executing the same code, and the code has a reference to a Threadlocal variable, there's no need to synchronize that variable because multiple threads cannot see each other's Threadlocal variables. 3...