Java Multithreading. Java.util.concurrent package. Part 2
Java Multithreading. Java.util.concurrent package. Part 2
Duration
12 hours
Location
Online
Language
English
Code
JVA-071
250.00 *
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
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:1680:"Volatile and Atomic Values
Collections
Lock and semaphore
Synchronizers
Executor Framework
Storing data in Threads
Exception handling
- 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 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.
Online:
11.12.2023 - 14.12.2023
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.