Welcome to my Programming Blog
ExecutorService in Java
Executor Framework In simple Java applications, we do not face much challenge while working with a small number of threads. If you have to develop a program that runs a lot of concurrent tasks, this approach will present many disadvantages such as lots of boiler plate code (create and manage threads), executing thread manually and…
Java ThreadLocal
Prerequisite Java Multithreading Please read the previous blog for detailed information. Java.lang.ThreadLocal class in Java This class provides thread local variables that can only be read and written by the same thread. This implies that even if two threads are executing the same code, and the code has a reference to the same ThreadLocal variable, the…
Follow My Blog
Get new content delivered directly to your inbox.