ITeye博客

java高并发

xcgh · 2013-07-10 13:36 · java · 编程语言 · Markdown

java高并发实现java.util.concurrent
BufferedReader和BufferedWriter需要用缓存提高效率

http://lavasoft.blog.51cto.com/62575/222541

ExecutorService pool = Executors.newFixedThreadPool(2);

//关闭线程
pool.shutdown();

http://www.itzhai.com/the-executorservice-common-method-newfixedthreadpool-of-create-fixed-size-thread-pool.html

http://mojarra.iteye.com/blog/1259288

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。