Skip to content

Commit

Permalink
Merge pull request #2590 from flying-pig-z/main
Browse files Browse the repository at this point in the history
fix:修改语句中词语重复
  • Loading branch information
Snailclimb authored Jan 26, 2025
2 parents b98ef11 + 80c5cc4 commit 026ebaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/java/concurrent/java-concurrent-questions-03.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ public static class CallerRunsPolicy implements RejectedExecutionHandler {
}
```

### 如果不允许丢弃任务任务,应该选择哪个拒绝策略?
### 如果不允许丢弃任务,应该选择哪个拒绝策略?

根据上面对线程池拒绝策略的介绍,相信大家很容易能够得出答案是:`CallerRunsPolicy`

Expand Down

0 comments on commit 026ebaf

Please sign in to comment.