![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工作问题及解决
文章平均质量分 77
hell0_wor1d
这个作者很懒,什么都没留下…
展开
-
HttpClient解决并发不足导致交易掉单问题
主要解决金融上游并发不足的问题:此处分为公有和私有连接池:私有连接池:注:首先要在static静态池中放一个存储http连接池的Map private final static Map<String,PoolingHttpClientConnectionManager> ClientPoolMap = new HashMap<String,PoolingHttpClientCon...原创 2018-04-18 16:35:34 · 777 阅读 · 0 评论 -
如何设置线程池的常规变量
Parameters: corePoolSize - the number of threads to keep in the pool, even if they are idle, unless allowCoreThreadTimeOut is set. (If the number of threads to keep in the pool less than corePoolSi...原创 2018-04-18 16:38:21 · 459 阅读 · 0 评论