Skip to content

Commit 3ce52ed

Browse files
committed
update
1 parent f5e4a22 commit 3ce52ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/线程池.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public ThreadPoolExecutor(int corePoolSize,
7070

7171
常见的四类线程池分别有 FixedThreadPool、SingleThreadExecutor、ScheduledThreadPool 和 CachedThreadPool,它们其实都是通过 ThreadPoolExecutor 创建的,其参数如下表所示:
7272

73-
||FixedThreadPool|SingleThreadExecutor|ScheduledThreadPool|CachedThreadPool|
73+
|参数|FixedThreadPool|SingleThreadExecutor|ScheduledThreadPool|CachedThreadPool|
7474
|---|---|---|---|---|
7575
|corePoolSize|nThreads|1|corePoolSize|0|
7676
|maximumPoolSize|nThreads|1|Integer.MAX_VALUE|Integer.MAX_VALUE|

0 commit comments

Comments
 (0)