摘要:
创建线程池,准备好库存信息 public class Applicaiton { public static ThreadPoolExecutor pool = new ThreadPoolExecutor( 10, 100, 10, TimeUnit.SECONDS,new LinkedBlock 阅读全文
摘要:
springboot 集成 elasticsearch 入门 //1. 定义配置类 ElasticSearchClientConfig class @Configuration public class ElasticSearchClientConfig { @Bean public RestHig 阅读全文