Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Synchronized and Concurrent Collections in Java

via CodeSignal

Overview

This course dives into Java's synchronized and concurrent collections, covering thread-safe options like ConcurrentHashMap, CopyOnWriteArrayList, and blocking queues. You'll learn to manage data sharing and concurrency effectively, transitioning from basic synchronized collections to high-performance, scalable concurrent utilities for real-world applications.

Syllabus

  • Unit 1: Introduction to Synchronized Collections
    • Exploring Synchronized Collections in Java
    • Enhance Functionality with Decrement Method
    • Enhance with Concurrent Updates
    • Running Synchronized Map Code
    • Extending the List Functionality
    • Write a Thread-Safe Playlist Manager
  • Unit 2: Understanding Concurrent Collections
    • Explore ConcurrentHashMap in Action
    • Fixing Concurrent Data Access Issues
    • Expand ConcurrentHashMap with Remove Functionality
    • Adding Order to the Map
    • Write a Thread-Safe Session Manager
  • Unit 3: CopyOnWrite Collections
    • Exploring Thread-Safe Subscriber Lists
    • Switching to Sets
    • Ensuring Unique Subscribers
    • Safely Remove Subscribers
    • Building a Log System
  • Unit 4: Blocking Queues and ConcurrentLinkedQueue
    • Running Tasks with Queues
    • Queue Capacity Limits in Action
    • Fix Queue Handling Bugs
    • Cancel Tasks in the Queue
    • Real-Time Log Processor Using ConcurrentLinkedQueue

Reviews

Start your review of Synchronized and Concurrent Collections in Java

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.