Multithreading and Concurrency in Java: Scaling a Multithreaded Application

Java    |    Intermediate
  • 12 videos | 1h 23m 25s
  • Includes Assessment
  • Earns a Badge
Rating 4.8 of 5 users Rating 4.8 of 5 users (5)
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

  • 2m 9s
  • 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.

YOU MIGHT ALSO LIKE

Rating 4.2 of 9 users Rating 4.2 of 9 users (9)
Rating 4.8 of 59 users Rating 4.8 of 59 users (59)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 1889 users Rating 4.5 of 1889 users (1889)
Rating 4.4 of 108 users Rating 4.4 of 108 users (108)
Rating 4.5 of 49 users Rating 4.5 of 49 users (49)