public class BlockPolicy extends Object implements RejectedExecutionHandler
InterruptedException异常
其他系统内置的拒绝策略,见hutool定义的枚举 RejectPolicy 线程拒绝策略枚举.
public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
rejectedExecution 在接口中 RejectedExecutionHandlerCopyright © 2024. All rights reserved.