java线程池讲义+代码

上传者: xy2876626746 | 上传时间: 2021-03-23 09:07:23 | 文件大小: 2.52MB | 文件类型: RAR
线程池是一种线程使用模式。在线程池中维护着多个线程,等待着监督管理者分配可并发执行的任务。这避免了在处理短时间任务时创建与销毁线程的代价。使用线程池不仅能够保证内核的充分利用,还能防止过分调度。WEB服务器完成网页请求这样的任务,使用线程池技术是非常合适的。

文件下载

资源详情

[{"title":"( 19 个子文件 2.52MB ) java线程池讲义+代码","children":[{"title":"线程池","children":[{"title":"讲义","children":[{"title":"郑州校区-张学全-线程池研发大纲_v2019-11-21.xmind <span style='color:#111;'> 149.07KB </span>","children":null,"spread":false},{"title":"线程池研发讲义 .ppt <span style='color:#111;'> 2.83MB </span>","children":null,"spread":false}],"spread":true},{"title":"案例","children":[{"title":"Demo","children":[{"title":"src","children":[{"title":"com","children":[{"title":"itheima","children":[{"title":"demo05","children":[{"title":"MyTask.java <span style='color:#111;'> 1010B </span>","children":null,"spread":false},{"title":"MyTest.java <span style='color:#111;'> 680B </span>","children":null,"spread":false}],"spread":true},{"title":"demo02","children":[{"title":"MyTest01.java <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"MyTest02.java <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"MyTest03.java <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"MyTest04.java <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"demo06","children":[{"title":"MyTask.java <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"MyTest.java <span style='color:#111;'> 786B </span>","children":null,"spread":false}],"spread":true},{"title":"demo01","children":[{"title":"MyWorker.java <span style='color:#111;'> 760B </span>","children":null,"spread":false},{"title":"MyTask.java <span style='color:#111;'> 948B </span>","children":null,"spread":false},{"title":"MyThreadPool.java <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"MyTest.java <span style='color:#111;'> 508B </span>","children":null,"spread":false}],"spread":true},{"title":"demo04","children":[{"title":"FutureDemo.java <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false}],"spread":true},{"title":"demo03","children":[{"title":"ScheduleExecutorServiceDemo03.java <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"ScheduleExecutorServiceDemo02.java <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"ScheduleExecutorServiceDemo01.java <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"Demo.iml <span style='color:#111;'> 813B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明