采用阿里代码规约,对代码进行优化

This commit is contained in:
lifenlong
2021-07-09 01:56:24 +08:00
parent 9e240f22b6
commit 3e73257922
343 changed files with 2626 additions and 1476 deletions

View File

@@ -79,6 +79,7 @@ public abstract class AbstractDelayQueueListen {
/**
* 要实现延时队列的名字
* @return 促销延时队列名称
*/
public abstract String setDelayQueueName();
@@ -88,7 +89,7 @@ public abstract class AbstractDelayQueueListen {
*/
@PostConstruct
public void init() {
new Thread(this::startDelayQueueMachine).start();
ThreadPoolUtil.getPool().execute(this::startDelayQueueMachine);
}
}