Java Multithreading. Basic Multithreading. Part 1
In this training we cover the very basics of Java Multithreading API. This training is the first part in our series of 3 courses focused on multithreading.
12 hours
Online
English
JVA-070
Java Multithreading. Basic Multithreading. Part 1
Sign Up
Duration
12 hours
Location
Online
Language
English
Code
JVA-070
Schedule and prices
€ 250
Training for 7-8 or more people? Customize trainings for your specific needs
Java Multithreading. Basic Multithreading. Part 1
Sign Up
Duration
12 hours
Location
Online
Language
English
Code
JVA-070
Schedule and prices
€ 250
Training for 7-8 or more people? Customize trainings for your specific needs

Description

In this training we cover the very basics of Java Multithreading API. We look at the syntax and core classes and teach you how to run code in a separate thread, how to synchronize access to shared resource in a multithreaded environment, how to use monitor, order thread execution and more.

This training is the first part in our series of 3 courses focused on multithreading. The other two cover java.util.concurrent package and asynchronous programming and ForkJoin Framework.
After completing the course, a certificate
is issued on the Luxoft Training form

Objectives

  • Improve Java development skills

Target Audience

  • Junior and intermediate Java developers

Roadmap

Intro
  • Multithreading and multiprocessing
  • Basic concepts – process, thread, scheduler
  • Parallelism and Concurrency
  • Amdahl’s and Gustafson laws
  • Types of multithreading
  • Multithreading application in Java
  • Creating Threads
  • Thread as object; creating and running thread
  • Implementation of Runnable
  • Extending Thread class
  • Comparing Runnable and Thread
  • Using ThreadFactory
  • Thread lifecycle
  • Thread states

Interrupting Threads
  • Returning from run method
  • Using sleep method
  • Using interrupt method
  • isInterrupted and interrupted methods
  • Using stop method
  • Using thread yeld
  • Thread states diagram

Priorities and demonology
  • Thread priorities
  • Priorities in operating system
  • Demon threads
  • Infrastructure threads

Synchronization – basics
  • Time synchronization – time sort
  • Lost update problem
  • Ways to synchronize threads
  • Costs of synchronization
  • Synchronize keyword
  • Monitors
  • Synchronization blocks
  • Producer – Consumer pattern
  • Wait, notify and thread lifecycle
  • Wait vs sleep
  • Producer – Consumer pattern with pipes

Deadlock
  • What is deadlock?
  • Examples of deadlocks
Schedule and prices
View:
Register for the next course
Registering in advance ensures you have priority. We’ll notify you when we schedule the next course on this topic
+
Courses you may be interested in
New features of Java 8 (stream, API)
This training is designed to help participants understand these new features of Java 8. The course covers lambda expressions, data streams, stream data processing with map-filter-reduce approach, asynchronous programming and DateTime API.
Online:
06.06.2022 - 07.06.2022
Java Multithreading. Java.util.concurrent package. Part 2
In this training you will learn how to use the classes from java.util.concurrent package. This training is the second part in our series of 3 courses focused on multithreading.
Java Multithreading. Asynchronous programming and ForkJoin Framework. Part 3
In this course you will learn how to use the new Java asynchronous API. This training is the third part in our series of 3 courses focused on multithreading.
View Catalog
Your benefits
Expertise
Our trainers are industry experts, involved in software development project
Live training
Facilitated online so that you can interact with the trainer and other participants
Practice
A focus on helping you practice your new skills
Still have questions?
Connect with us
Thank you.
Your request has been received.
Thank you!
The form has been submitted successfully.