📜  java代码示例中的executorservice

📅  最后修改于: 2022-03-11 14:52:25.958000             🧑  作者: Mango

代码示例1
import com.google.common.util.concurrent.ThreadFactoryBuilder;

executorService = Executors
                .newCachedThreadPool((new ThreadFactoryBuilder()).setNameFormat("EmailSystem T-%1$d").build());