These are chat archives for alibaba/dubbo

26th
Feb 2018
gaolongyin
@gaolongyin
Feb 26 2018 01:30
@chickenlj 请教下我怎么才能拿到dubbo线程池的实例
隔壁老王
@SuperDubbo
Feb 26 2018 03:13
@gaolongyin 应该通过DataStore可以拿到的
gaolongyin
@gaolongyin
Feb 26 2018 03:14
DataStore dataStore = ExtensionLoader.getExtensionLoader(DataStore.class).getDefaultExtension();
ExecutorService executorService = (ExecutorService) dataStore.get(Constants.EXECUTOR_SERVICE_COMPONENT_KEY, Integer.toString(invoker.getUrl().getPort()));
ThreadPoolExecutor executor = (ThreadPoolExecutor) executorService;
是这样吗
隔壁老王
@SuperDubbo
Feb 26 2018 03:15
是的
gaolongyin
@gaolongyin
Feb 26 2018 03:15
好的 谢谢了
隔壁老王
@SuperDubbo
Feb 26 2018 03:15
你可以参考Dubbo的telnet对应的SPI实现来
ThreadPoolStatusChecker
时无两丶
@carryxyh
Feb 26 2018 11:12
@lovepoem alibaba/dubbo#1199
please retry CI . thx