Hystrix線程隔離模式-如何調用線程池

在線程隔離模式下,線程池在建立命令時就根據配置進行初始化,並在一個全局的ConcurrentHashMap中。本文主要是淺析下如何使用到對應的線程池的。 在AbstractCommand淺析中提到 subscribeOn(threadPool.getScheduler(new Func0<Boolean>(){})),threadPool.getScheduler(new Func0<Boolea
相關文章
相關標籤/搜索