|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/efficient-java-multithreading-with-executors/
课程评论:没有评论
本 Coursera 课程“Java 执行器框架高效多线程与并发”旨在帮助学员从零开始全面掌握 Java 执行器 API 的概念,并结合线程 API 的并行概念。通过学习各种技巧和实践,学员可以深入了解高级多线程技术,同时避免使用执行器 API 时常见的陷阱。 课程内容涵盖: * **线程返回值:** 学习如何使用传统的线程 API 和 Runnable 返回值。 * **线程终止:** 掌握两种 API 中提前终止线程的各种方法。 * **线程Join:** 理解如何在执行器框架中使用“join threads”。 * **异常处理:** 认识到无法通过 try-catch 块捕获线程中泄漏的异常,以及这可能对企业级应用造成的风险。 * **任务完成检查:** 学习使用两种 API 检查任务执行是否完成。 * **守护线程:** 了解什么是守护线程以及如何使用执行器创建它们。 * **线程命名:** 学习如何为执行器线程命名。 * **任务调度:** 探索使用两种 API 安排未来任务的各种方法和调度类型。 课程强调通过对比学习,先介绍传统线程 API 的实现方式,再讲解对应的执行器 API。这种循序渐进的方式有助于学员从旧模式过渡到新模式,从而更好地理解执行器 API 以及巩固线程 API 的高级概念。 课程结构从基础的“如何创建和运行线程”、“如何命名线程”、“如何从线程返回值”开始,逐步深入到“终止线程”、“捕获异常”、“无需浪费 CPU 周期等待线程完成”等更高级的主题。每项概念都配有详细的示例和源代码,方便学员实践。 本课程适合已掌握 Java 及多线程基础,希望深入学习执行器 API、提升多线程编程效率、避免常见错误的开发者。通过近 6 小时的 HD 高清视频学习,学员将能够显著提高效率和生产力,避免耗时的 bug 修复。 **购买前,强烈建议观看第一部分的免费预览视频“先决条件和课程结构”。**
Learn all the concepts of Java's Executors API from scratch in combination with parallel concepts of the Threads API. Develop skills and deepen your knowledge of advanced multi-threading concepts by learning various tips & techniques and becoming aware of pitfalls when using Executors API. And.refresh your advanced Threads-API concepts as well.Do you know how to return values using the normal Threads API and its Runnables?Do you know the various ways of terminating threads midway for both the APIs?Do you know how to 'join threads' using Executors?Do you know that you cannot catch stray exceptions leaked out from a thread by using try-catch block - neither in the Threads API nor in the Executors one? And that this can lead to third-party code killing your scalable, high-performance and high-availability enterprise application?Do you know how to check if a task has finished execution using both the APIs?Do you know what are daemon threads and how to create them using Executors?Do you know how to name Executor threads?Do you know the various ways to schedule tasks for running in future using both the APIs? Do you know the various 'types' of scheduling?If the answer to any of these questions is 'no', then this course is for you (provided that you know Java and the basics of multi-threading already)! Learning from HD quality videos and nearly 6 hours of content will help you convert all these "nos" to "yeses".and will also give you an edge over your peers! Not only will this course help you learn how to get things done the multi-threaded way but also how to avoid the mistakes and pitfalls and thereby, increase your efficiency and productivity. All those long bug-fixing hours that you save can be spent finishing your other pending work or even for pleasure!Avoid the pitfalls while writing multi-threaded code by learning pro-tipsIn my 19 years of experience building large enterprise applications, I have made all the mistakes in multi-threading that can be made. And believe me - multi-threading bugs are costly and multi-weekend-destroying to resolve.I have used my vast experience to craft this course in such a manner so as to highlight the pitfalls that await a programmer and also provide tips to avoid those pitfalls. By going through this course, you will be years ahead of your peers who are yet to make all the mistakes that I have made.Content and OverviewIt is difficult to directly move from an older to a newer way of doing things if you are not comfortable with the older way also - you won't be able to map things from the old way to the new way. So, this course has been structured in such a way that the Threads-API way of doing things are explained first and then the corresponding way to do them using the Executors-API is explained. This will help you understand not only the advanced concepts of Executors but also those of the Threads-API.So, this course is suitable for programmers who want to learn about the Executors API from scratch. It is also beneficial for those who want to refresh their concepts or learn the techniques of doing various operations using the Threads-API. Detailed examples along with the source-code are provided on every concept for both the APIs.The course starts with the basics first - 'How to create and run threads', 'How to name the threads' and 'How to return values from threads' - using both the APIs. And then, it gradually moves on to increasingly advanced concepts like 'Terminating Threads', 'Catching Exceptions', 'Waiting for threads to finish without wasting CPU cycles', etc.BEFORE YOU BUY THIS COURSE, DON'T FORGET TO WATCH THE FREE PREVIEW VIDEO ON 'PRE-REQUISITES AND COURSE STRUCTURE' IN SECTION-1!