Join Ketkee Aryamane for an in-depth discussion in this video Different thread pools, part of Java EE: Concurrency and Multithreading.
- [Instructor] In the previous demo…we tried to use the FixedThreadPool…on the executor's utility clause.…However, the executor framework allows…you to create different kinds of pools.…Let's take a very quick look at that.…So instead of the newFixedThreadPool,…you can also say newCashedThreadPool.…Cashed Thread Pool primarily is an expandable pool,…so whenever you need more tasks,…more threads will be created in this pool.…If there are threads that are available out…of the previous tasks execution completion,…then those threads can be utilized,…or re-used as we say.…
Okay, so that's a Cashed Pool, that's another variation.…And then you also have newWorkStealingPool.…So, this is actually a part of the fork join implementation…and fork-joined implementation is not something…that we are looking at in this course,…but of course if you want something…of kind of fork join you should be looking at that pool.…Right, in addition to the Fixed Thread pool,…or maybe the Cashed Thread pool,…or the Work Stealing pool,…or of course you have the single thread executor as well,…
- What is concurrency?
- Processes and threads in Java SE
- Java EE concurrency APIs
- Working with the ManagedExecutorService, ManagedScheduledExecutorService, ManagedThreadFactory, and ContextService APIs
- Defining data access object (DAO) classes
- Adding methods to DAO classes
- Writing REST classes
- Creating custom thread factories
- Creating contextual proxies
- JTA transactions and concurrency
Skill Level Advanced
Java EE: Servlets and JavaServer Pages (JSP)with Ketkee Aryamane6h 14m Intermediate
1. Overview and Setup
2. Processes and Threads
3. Executor API
4. Java EE Concurrency APIs
5. Concurrency and Transactions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.