摘要:
public void listen() { while (true) { String answercard = answerCardDDao.bpopAnswer(); // computeScore(answercard); threadPooltaskExecutor.execute(new 阅读全文
摘要:
第一步,先在Spring Boot主类中定义一个线程池,比如: @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Appli 阅读全文