All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rx.core.ScheduledThreadPool Maven / Gradle / Ivy

//package org.rx.core;
//
//import java.util.concurrent.ScheduledThreadPoolExecutor;
//
////schedule 抛出异常会终止
//public final class ScheduledThreadPool extends ScheduledThreadPoolExecutor {
//    final String poolName;
//
//    public ScheduledThreadPool() {
//        super(RxConfig.INSTANCE.threadPool.scheduleInitSize, ThreadPool.newThreadFactory("schedule"));
//        this.poolName = "schedule";
//
//        ThreadPool.SIZER.register(this, ThreadPool.DEFAULT_CPU_WATER_MARK);
//    }
//
//    @Override
//    public String toString() {
//        return poolName;
//    }
//}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy