yyyyyyyyyyyyyyyyyyyy

博客园 首页 新随笔 联系 订阅 管理

2015年10月20日 #

摘要: Java Executor 框架 Executor框架是指java5中引入的一系列并发库中与executor相关的功能类,包括Executor、Executors、 ExecutorService、CompletionService、Future、Callable等。(图片引用自 http://w... 阅读全文
posted @ 2015-10-20 21:56 xxxxxxxx1x2xxxxxxx 阅读(231) 评论(0) 推荐(0)

摘要: ThreadPoolExecutor详解ThreadPoolExecutor的完整构造方法的签名是:ThreadPoolExecutor(intcorePoolSize, intmaximumPoolSize, longkeepAliveTime, TimeUnitunit, BlockingQue... 阅读全文
posted @ 2015-10-20 21:49 xxxxxxxx1x2xxxxxxx 阅读(191) 评论(1) 推荐(0)

摘要: 介绍new Thread的弊端及Java四种线程池的使用,对Android同样适用。本文是基础篇,后面会分享下线程池一些高级功能。1、new Thread的弊端执行一个异步任务你还只是如下new Thread吗?Javanew Thread(new Runnable() { @Override pu... 阅读全文
posted @ 2015-10-20 21:43 xxxxxxxx1x2xxxxxxx 阅读(344) 评论(0) 推荐(0)

摘要: A First Exploration Of SolrCloudUpdate: this article was published in August 2012, before the very first release of SolrCloud. Meanwhile SolrCloud has... 阅读全文
posted @ 2015-10-20 20:43 xxxxxxxx1x2xxxxxxx 阅读(178) 评论(0) 推荐(0)