Skip to content
IT Interview Guide
  • About Me
  • Cloud Native
    • CICD
    • Containers
      • Docker
      • Kubernetes
    • DevOps
    • Microservices
  • Programming
    • C++
    • Golang
    • Java
    • JavaScript
      • Angular.js
      • Node.js
      • React.js
    • Python
  • Software Engineering
    • Design Patterns
    • OOAD
    • Testing

multithreading

How to Handle Delayed Execution in Java?

February 3, 2025 by Aditya Pratap Bhuyan
Java

Learn how to effectively manage delayed execution in Java using various techniques like Thread.sleep(), Timer, and ScheduledExecutorService. Explore real-world examples and best practices for smooth execution flow.

Categories Java Tags concurrency, delayed execution, java, Java delay, multithreading, ScheduledExecutorService, Timer 1 Comment

What is a ForkJoinPool in Java?

January 31, 2025 by Aditya Pratap Bhuyan
Java

A ForkJoinPool is a Java concurrency utility that efficiently handles parallel tasks, especially for divide-and-conquer algorithms. Learn about ForkJoinPool, how it works, and practical examples in this comprehensive guide.

Categories Java Tags concurrency, ForkJoinPool, ForkJoinTask, java, Java code examples, Java ExecutorService, multithreading, parallel execution, Parallel Programming Leave a comment

How to Create a Scheduled Thread Pool in Java?

January 31, 2025 by Aditya Pratap Bhuyan
Java

Learn how to create a Scheduled Thread Pool in Java using ScheduledExecutorService. This detailed guide covers the necessary steps, code examples, and key concepts for scheduling tasks with fixed-rate and fixed-delay execution policies.

Categories Java Tags java, Java Concurrency, Java Executor Service, multithreading, Scheduled Thread Pool, ScheduledExecutorService Leave a comment

What is a Worker Thread in Java? A Complete Guide with Code Examples

January 31, 2025 by Aditya Pratap Bhuyan
Java

Understand the concept of worker threads in Java. Learn how to implement them in multithreaded applications with code examples and explanations.

Categories Java Tags Concurrency in Java, Java threads, Java worker thread, Java worker thread example, multithreading, worker thread, worker thread Java explanation Leave a comment

What is the Fork/Join Framework in Java?

January 29, 2025 by Aditya Pratap Bhuyan
Java

Learn about the Fork/Join framework in Java, its advantages for parallel programming, and how it improves performance in multi-core processors with practical code examples.

Categories Java Tags Fork Join API, Fork/Join Framework, java, Java Code Example, Java Concurrency, Java Performance Optimization, Java Programming, multithreading, Parallel Programming Leave a comment

What is a Semaphore in Java and How is it Used?

January 29, 2025 by Aditya Pratap Bhuyan
Java

Explore the concept of a semaphore in Java, its role in concurrency control, and how it can be utilized to manage multiple threads. Learn with detailed examples and code snippets on how to implement semaphores effectively.

Categories Java Tags concurrency, java, Java Programming, Java Semaphore Example, multithreading, Semaphore, synchronization Leave a comment

What is a CyclicBarrier in Java and How Does it Work?

January 29, 2025 by Aditya Pratap Bhuyan
Java

Understand the concept of a CyclicBarrier in Java, its use cases, working mechanism, and practical code examples for synchronization of threads in concurrent programming.

Categories Java Tags concurrency, CyclicBarrier, java, Java Programming, Java synchronization, Java Threading, multithreading Leave a comment

What Are the Different Types of Thread Pools in Java?

January 21, 2025 by Aditya Pratap Bhuyan
Java

Explore the various types of thread pools in Java, including FixedThreadPool, CachedThreadPool, SingleThreadExecutor, and more, with detailed code examples and practical insights into multithreading and thread management.

Categories Java Tags concurrent programming, ExecutorService, java, multithreading, thread management, thread pool, types of thread pools Leave a comment

How Do You Submit Tasks to an ExecutorService in Java?

January 21, 2025 by Aditya Pratap Bhuyan
Java

This article explains how to submit tasks to an `ExecutorService` in Java, detailing various methods of task submission, including examples of the `submit()` and `invokeAll()` methods.

Categories Java Tags concurrency, ExecutorService, ExecutorService Example, java, Java Threading, multithreading, Task Submission Leave a comment

How Can You Retrieve the Result of a Callable Task in Java?

January 21, 2025 by Aditya Pratap Bhuyan
Java

Learn how to retrieve the result of a Callable task in Java using Future, ExecutorService, and the basics of concurrency in multithreaded environments. This guide includes detailed code examples and an in-depth explanation.

Categories Java Tags Callable, concurrency, ExecutorService, Future, java, multithreading, result retrieval Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 Page6 Next →
  • C++
  • Java
  • Python
  • Uncategorized

Collections Collections Framework concurrency Data Structures Functional Programming generics java Java 8 Java 8 Features Java Best Practices Java Code Java Code Example Java code examples Java Collection Framework Java Collections Java Collections Framework Java Concurrency Java data structures Java Development Java examples Java Functional Programming Java generics Java List Java multithreading Java Performance Java Programming Java serialization Java Stream API Java Streams Java synchronization Java threads Java Tutorial Java Tutorials Lambda Expressions multithreading multithreading in Java object-oriented programming performance optimization Programming Software Development Stream API synchronization thread management thread safety type safety

  • How to Filter a Collection Using Streams in Java?
  • 300 Java Interview Questions for Beginners
  • What is the Stream API in Java 8 and How Does It Work?
  • What Are Lambda Expressions in Java and How Do They Work?
  • What is a Thread in Java and How Does It Work with Examples?
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
© 2025 IT Interview Guide • Built with GeneratePress