Multithreading and Concurrency in Java: Scaling a Multithreaded Application

Java SE 13    |    Intermediate
  • 12 videos | 1h 23m 25s
  • Includes Assessment
  • Earns a Badge
Likes 10 Likes 10
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
  • Playable
    2.  The ExecutorService
    9m 5s
    In this video, learn how to create an ExecutorService instance to manage a pool of thread workers and submit tasks to it. FREE ACCESS
  • Locked
    3.  Synchronization and the ExecutorService
    9m 46s
    During this video, you will learn how to use a CountDownLatch to synchronize with the execution of threads submitted to an ExecutorService. FREE ACCESS
  • Locked
    4.  Shutting Down the ExecutorService Gracefully
    7m 38s
    Upon completion of this video, you will be able to describe how an ExecutorService instance can be shut down while still allowing submitted tasks to run. FREE ACCESS
  • Locked
    5.  Shutting Down the ExecutorService Immediately
    7m 34s
    In this video, you will learn how to distinguish between the graceful and immediate shutdown of an ExecutorService instance. FREE ACCESS
  • Locked
    6.  The Future Object
    9m 54s
    After completing this video, you will be able to recognize the options available to monitor the execution of a task using a Future object. FREE ACCESS
  • Locked
    7.  Callable Tasks
    8m 34s
    In this video, find out how to implement the Callable interface to define a task that can run in a thread and returns a result. FREE ACCESS
  • Locked
    8.  The ScheduledExecutorService
    4m 47s
    In this video, you will learn how to schedule one-off tasks to execute at a specified point in the future using the ScheduledExecutorService. FREE ACCESS
  • Locked
    9.  Running Recurring Tasks
    8m 20s
    Find out how to schedule recurring tasks to execute at a set interval using the ScheduledExecutorService. FREE ACCESS
  • Locked
    10.  The Fork/Join Framework
    7m 23s
    In this video, you will learn how to use the Fork/Join framework to break up a large task into a number of smaller sub-tasks. FREE ACCESS
  • Locked
    11.  Running Fork/Join Tasks
    6m 39s
    In this video, you will submit a large task to ForkJoinPool and recognize how these can be split into smaller sub-tasks. FREE ACCESS
  • 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 on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE