1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Merge pull request #2590 from flying-pig-z/main

fix:修改语句中词语重复
This commit is contained in:
Guide 2025-01-26 21:38:11 +08:00 committed by GitHub
commit 026ebaf5cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -464,7 +464,7 @@ public static class CallerRunsPolicy implements RejectedExecutionHandler {
}
```
### 如果不允许丢弃任务任务,应该选择哪个拒绝策略?
### 如果不允许丢弃任务,应该选择哪个拒绝策略?
根据上面对线程池拒绝策略的介绍,相信大家很容易能够得出答案是:`CallerRunsPolicy`