Update Java 并发.md
fix a spelling mistake
This commit is contained in:
parent
6ee2aab80e
commit
beef4997a3
|
@ -192,7 +192,7 @@ Executor 管理多个异步任务的执行,而无需程序员显示地管理
|
|||
|
||||
主要有三种 Executor:
|
||||
|
||||
1. CachedTreadPool:一个任务创建一个线程;
|
||||
1. CachedThreadPool:一个任务创建一个线程;
|
||||
2. FixedThreadPool:所有任务只能使用固定大小的线程;
|
||||
3. SingleThreadExecutor:相当于大小为 1 的 FixedThreadPool。
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user