摘要:
Welcome What users say: “Cheers for a great tool that actually makes programmers want to write documentation!” What users say: “Cheers for a great too 阅读全文
posted @ 2016-04-05 23:32
沧海一滴
阅读(472)
评论(0)
推荐(0)
摘要:
brew install redisOnce you unpack Redis, you can launch it with its default settings by running the following command: redis-server https://spring.io/ 阅读全文
posted @ 2016-04-05 23:13
沧海一滴
阅读(255)
评论(0)
推荐(0)
摘要:
在我们开始谈线程之前,不得不提下进程。无论进程还是线程都是很抽象的概念,有一个关于进程和线程很形象的比喻能帮我们更好的理解。 进程就像个房子,房子是一个包含了特定属性的容器,例如空间大小、卧室数量等。 如果你也这样看的话,那么房子自己不会主动做任何事情,它是被动的对象。 而线程则像是房中的居住者,它 阅读全文
posted @ 2016-04-05 17:22
沧海一滴
阅读(281)
评论(0)
推荐(0)
摘要:
前面一篇文章从Executors中的工厂方法入手,已经对ThreadPoolExecutor的构造和使用做了一些整理。而这篇文章,我们将接着前面的介绍,从源码实现上对ThreadPoolExecutor在任务的提交、执行,线程重用和线程数维护等方面做下分析。 0. ThreadPoolExecuto 阅读全文
posted @ 2016-04-05 16:59
沧海一滴
阅读(275)
评论(0)
推荐(0)