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.
12 hours
Online
English
JVA-071
Java Multithreading. Java.util.concurrent package. Part 2
Sign Up
Duration
12 hours
Location
Online
Language
English
Code
JVA-071
Schedule and prices
€ 250
Training for 7-8 or more people? Customize trainings for your specific needs
Java Multithreading. Java.util.concurrent package. Part 2
Sign Up
Duration
12 hours
Location
Online
Language
English
Code
JVA-071
Schedule and prices
€ 250
Training for 7-8 or more people? Customize trainings for your specific needs

Description

In this training you will learn how to use the classes from java.util.concurrent package. We will look at them one by one and show you how to use almost every class of the package with specific examples. You will learn how to use synchronized collections, executors, atomics and more.

This training is the second part in our series of 3 courses focused on multithreading. The other two cover basic Multithreading (threads, synchronization, monitors etc.) 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

Volatile and Atomic Values
  • Memory access performance
  • CPU memory model
  • Compiler and CPU
  • Java memory model
  • volatile keyword
  • CAS algorithm
  • Atomic References
  • Atomic counter example

Collections
  • Lost insert (update) problem
  • Synchronized collections
  • Concurrent library
  • Concurrent collections
  • Queue and Deque
  • BlockingQueue

Lock and semaphore
  • Lock interface
  • Condition in locks
  • ReadWriteLock
  • Semaphore interface

Synchronizers
  • Introduction – where to put semaphore where synchronizer
  • CountDownLatch
  • TransportTyconTutor – full example of using synchronizers and semaphores!
  • CyclicBarrier
  • Phaser
  • Phaser phases and tutor

Executor Framework
  • Why we need ExecutorFramework
  • Executor and ExecutorService
  • ThreadPool
  • Scheduling tasks
  • Running tasks
  • Stoping tasks
  • Future interface

Storing data in Threads
  • Sharing runnable objects between threads
  • Overriding values in objects
  • ThreadLocal Store

Exception handling
  • Exceptions in multithreading application
  • Handling Exception with UncatchingExceptinoHandler
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. 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.
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.