
1 sorra 2016 年 11 月 15 日 每种来源用一个线程池?判断系统号应该要自己写。 计数器很麻烦吧,你还要记得-1 。 |
2 8bit 2016 年 11 月 15 日 via Android 那直接不同系统开不同的线程池得了 |
3 chocotan 2016 年 11 月 16 日 hystrix 可以满足你 : ) |
4 depress OP |
5 chocotan 2016 年 11 月 17 日 1 @depress 可以给 webservice 业务代码外面套个 HystrixCommand ,根据系统号拿到对应的线程池配置 我是这样用的: https://gist.github.com/chocotan/fe754204d8af39dfaf72faaf0f198edb |