'Y'

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

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.

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

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.