摘要: 创建线程池,准备好库存信息 public class Applicaiton { public static ThreadPoolExecutor pool = new ThreadPoolExecutor( 10, 100, 10, TimeUnit.SECONDS,new LinkedBlock 阅读全文
posted @ 2020-08-28 21:24 li修远 阅读(136) 评论(0) 推荐(0) 编辑
摘要: springboot 集成 elasticsearch 入门 //1. 定义配置类 ElasticSearchClientConfig class @Configuration public class ElasticSearchClientConfig { @Bean public RestHig 阅读全文
posted @ 2020-08-28 00:21 li修远 阅读(422) 评论(0) 推荐(0) 编辑