In this journal entry, "Understanding Java Thread Pool", we will be answering to the question "Why the application need a thread pool?". Well the answer to this is when we develop a simple application in Java which needs some concurrent tasks to … [Read more...] about Understanding Java Thread Pool with Example
Monitoring Disk, Memory, and Threads in Java In this journal entry, we’ll be showcasing how to monitor Disk, Memory, and Threads using Core Java. For the Disk usage, we will make use of the File class of Java for querying the specific disk … [Read more...] about How to Monitor Disk, Memory, and Threads in Java?
In a multi-threaded environment, there is always a race between two or more threads attempting to update the mutable shared data at the same time. Java has offered a mechanism where we can avoid these race conditions. The mechanism is basically the … [Read more...] about Understanding Java Synchronized Keyword