Multithreading and Concurrency in Java: Scaling a Multithreaded Application

Java SE 13
  • 12 Videos | 1h 28m 25s
  • Includes Assessment
  • Earns a Badge
Likes 4 Likes 4
Creating and managing multiple concurrent threads manually can be painstaking, but Java includes objects that make this much simpler. This course will help you gain experience using objects such as Java's ExecutorService and the Fork/Join framework that make it easy to write scalable multithreaded applications. You will get hands on with these objects and will recognize their use cases, features and their limitations.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    create an ExecutorService instance to manage a pool of thread workers and submit tasks to it
    use a CountDownLatch to synchronize with the execution of threads submitted to an ExecutorService
    describe how an ExecutorService instance can be shut down while still allowing submitted tasks to run
    distinguish between the graceful and immediate shutdown of an ExecutorService instance
    recognize the options available to monitor the execution of a task using a Future object
  • implement the Callable interface to define a task that can run in a thread and returns a result
    schedule one-off tasks to execute at a specified point in the future using the ScheduledExecutorService
    schedule recurring tasks to execute at a set interval using the ScheduledExecutorService
    use the Fork/Join framework to break up a large task into a number of smaller sub-tasks
    submit a large task to ForkJoinPool and recognize how these can be split into smaller sub-tasks
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 9s
    UP NEXT
  • Playable
    2. 
    The ExecutorService
    9m 5s
  • Locked
    3. 
    Synchronization and the ExecutorService
    9m 46s
  • Locked
    4. 
    Shutting Down the ExecutorService Gracefully
    7m 38s
  • Locked
    5. 
    Shutting Down the ExecutorService Immediately
    7m 34s
  • Locked
    6. 
    The Future Object
    9m 54s
  • Locked
    7. 
    Callable Tasks
    8m 34s
  • Locked
    8. 
    The ScheduledExecutorService
    4m 47s
  • Locked
    9. 
    Running Recurring Tasks
    8m 20s
  • Locked
    10. 
    The Fork/Join Framework
    7m 23s
  • Locked
    11. 
    Running Fork/Join Tasks
    6m 39s
  • Locked
    12. 
    Course Summary
    1m 36s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.