use of com.alipay.sofa.ark.common.thread.CommonThreadPool in project sofa-ark by sofastack.
the class ArkCommandHandler method init.
private static void init() {
CommonThreadPool commandPool = new CommonThreadPool().setAllowCoreThreadTimeOut(true).setThreadPoolName(Constants.TELNET_COMMAND_THREAD_POOL_NAME).setDaemon(true);
ThreadPoolManager.registerThreadPool(Constants.TELNET_COMMAND_THREAD_POOL_NAME, commandPool);
}
Aggregations