Articles in this series
Executors Important Methods Shutdown Initiates orderly shutdown of the ExecutorService AFter calling shutdown, Executor will not accept new task...
Brief Executors provides Factory methods which we can use to create Thread Pool Executor. Threase are present in java.util.concurrent...
Status of submitted task public class Main { public static void main(String[] args) { ThreadPoolExecutor poolExecutor = new...
Thread Pool It's a collection of threads (aka workers), which are available to perform the submitted tasks. Once task completed, worker thread get...
Concurrency Types Concurrency can be achieved using 2 ways Lock based Mechanism Synchronized Reentrant Stamped ReadWrite Semaphores Lock Free...
Monitor Lock Locking do not depends on Object like synchronized method. synchronized method puts the monitor lock on the object synchronized...