Thread Safety Author, September 1, 2022 Defining thread safety is surprisingly tricky. A quick Google search turns up numerous “definitions” like these: Thread-safe… Continue Reading
Executor RejectedExecution Handler Author, September 1, 2022 Executor RejectedExecutionHandler 1. When tasks get rejected Remember, when we finish the execution of an… Continue Reading
ConcurrentHashMap Author, September 1, 2022September 1, 2022 1. ConcurrentHashMap class The ConcurrentHashMap is very similar to the HashMap class, except that ConcurrentHashMap offers internally maintained concurrency. It means we do… Continue Reading