import java.util.concurrent.LinkedBlockingDeque; /** * 线程池的工具类 */ public class ThreadPoolUtil { /** * 线程池的队列 */ public static final LinkedBlockingDeque<Runnable> WORKQUEUE = new LinkedBlockingDeque<>(1000); }
线程池的工具类
最新推荐文章于 2021-05-25 16:07:23 发布
import java.util.concurrent.LinkedBlockingDeque; /** * 线程池的工具类 */ public class ThreadPoolUtil { /** * 线程池的队列 */ public static final LinkedBlockingDeque<Runnable> WORKQUEUE = new LinkedBlockingDeque<>(1000); }