- 授权协议: 未知
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html
- 软件文档: http://gee.cs.oswego.edu/dl/classes/index.html
软件介绍
util.concurrent 是一个 Java 语言的并发开发包,示例代码:
public class Executor
{
private static Logger logger = Logger.getLogger(Executor.class);
private static PooledExecutor executor = new PooledExecutor(5);
static {
executor.setMinimumPoolSize(2);
executor.setMaximumPoolSize(10);
executor.setKeepAliveTime(1000 * 60 * 10);
}
public static void execute(Runnable runnable) {
try {
executor.execute(runnable);
}
catch (Exception e) {
logger.error("Exception while running task: " + e, e);
}
}
}
编程珠玑(第2版•修订版)
[美] Jon Bentley 乔恩•本特利 / 黄倩、钱丽艳 / 人民邮电出版社 / 2014-12 / 39
历史上最伟大的计算机科学著作之一 融深邃思想、实战技术与趣味轶事于一炉的奇书 带你真正领略计算机科学之美 多年以来,当程序员们推选出最心爱的计算机图书时,《编程珠玑》总是位于前列。正如自然界里珍珠出自细沙对牡蛎的磨砺,计算机科学大师Jon Bentley以其独有的洞察力和创造力,从磨砺程序员的实际问题中凝结出一篇篇不朽的编程“珠玑”,成为世界计算机界名刊《ACM通讯》历史上最受欢......一起来看看 《编程珠玑(第2版•修订版)》 这本书的介绍吧!
