Java · Medium · ProWhat is ThreadLocal? When and why should you use it? What are its pitfalls?JavaCore JavaConcurrency