'Y'

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.
Code: JVA-070
Duration: 12 hours

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.

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

Objectives

  • Improve Java development skills

Target Audience

  • Junior and intermediate Java developers


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
Bucharest €220
Krakow €220
Wroclaw €220

Invoices for the course will be issued in local currency. All fees above can change according to training location and delivery mode and are subject to change while scheduling. Price does not include VAT.

Courses you may be interested in:

Sign up

First Name*
Last Name*
Company
Email*
Preferred Location
Phone
Your Comment
Luxoft Warsaw - Warsaw Spire, plac Europejski 1, 00-844 Warszawa
Dimitrie Pompeiu nr 5-7 , building C, Et. 5, sect 2, Bucharest, 014459

Contact phone:

021 371 4858
Luxoft Poland Wroclaw - Silver Tower pl. Konstytucji 3-go Maja 3 50-048 Wroclaw
Aleja Generała Tadeusza Bora-Komorowskiego 25, Quattro Business Park Five, 31-476 Kraków, Poland

Contact phone:

+48 122110650
Success
Thank you.
Your request has been received.