Git How do I delete a Git branch locally and remotely R@jesh, December 15, 2022 To delete the remote branch: git push -d origin <branch-name> Or git push origin :<branch-name>… Continue Reading
Exceptions H2 Schema Initialisation Syntax Error in Sql Statement R@jesh, December 15, 2022 Application Startup error: But I got ‘Syntax error in SQL statement’ on application startup: Error:… Continue Reading
Concurrency Set and Get the Name R@jesh, September 11, 2022September 11, 2022 Thread in Java Table Of Contents Getting Thread Name Setting Name to Thread Using Thread… Continue Reading
Concurrency How to Create and Start a New Thread in Java R@jesh, September 3, 2022 Table Of Contents Creating a New Thread By Extending Thread Class By Implementing Runnable Interface… Continue Reading
Concurrency How to work with wait(), notify() and notifyAll() in Java? R@jesh, September 3, 2022September 3, 2022 Java concurrency is a pretty complex topic and requires a lot of attention while writing… Continue Reading
Concurrency Java 8 Concurrency (2023) R@jesh, September 1, 2022July 25, 2023 In simple words, concurrency is the ability to run several programs or several parts of a program… Continue Reading
Concurrency Object level lock vs Class level lock in Java R@jesh, September 1, 2022 In Java, a synchronized block of code can only be executed by one thread at a… Continue Reading
Concurrency Thread Safety R@jesh, September 1, 2022 Defining thread safety is surprisingly tricky. A quick Google search turns up numerous “definitions” like these: Thread-safe… Continue Reading
Concurrency How to Cancel a Task in Java ExecutorService R@jesh, September 1, 2022 1. Future cancel() API The Future.cancel() method takes one argument of typeboolean boolean cancel(boolean mayInterruptIfRunning); Depending on the… Continue Reading
Concurrency Executor RejectedExecution Handler R@jesh, September 1, 2022 Executor RejectedExecutionHandler 1. When tasks get rejected Remember, when we finish the execution of an… Continue Reading