1. 内置拒绝策略 ThreadPoolExecutor 提供了以下四种内置拒绝策略: (1) AbortPolicy(默认策略) 抛出 RejectedExecutionException 异常。 示例代码: ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor(); executor.setCorePoolSize