Java Multithreading. Basic Multithreading. Part 1 | | Software Development
Java Multithreading. Basic Multithreading. Part 1
Duration
12 hours
Location
Online
Language
English
Code
JVA-070
250.00 *
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
is issued on the Luxoft Training form
Objectives
- Improve Java development skills
Target Audience
- Junior and intermediate Java developers
Roadmap
a:2:{s:4:"TEXT";s:1707:"Intro
Interrupting Threads
Priorities and demonology
Synchronization – basics
Deadlock
- 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 will 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.
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.