import cn.hutool.core.thread.ThreadUtil;
ThreadUtil.execAsync(() -> {
//xxxService方法
});
java hutool包的异步执行方法,简单好用
于 2024-01-26 16:52:58 首次发布
import cn.hutool.core.thread.ThreadUtil;
ThreadUtil.execAsync(() -> {
//xxxService方法
});