提交 07ff9d59 authored 作者: lvwei's avatar lvwei

--no commit message

上级 911e1f72
...@@ -55,9 +55,13 @@ public class SolrDeltaImportAspect { ...@@ -55,9 +55,13 @@ public class SolrDeltaImportAspect {
@AfterReturning(pointcut = "solrDeltaImportPointCut()") @AfterReturning(pointcut = "solrDeltaImportPointCut()")
public void doAfterReturning(JoinPoint joinPoint) throws Throwable { public void doAfterReturning(JoinPoint joinPoint) throws Throwable {
logger.info("切面检测到修改方法执行-后置通知启用-增量更新solr索引库"); logger.info("切面检测到修改方法执行-后置通知启用-增量更新solr索引库");
phyResourceManage.deltaUpdate(); new Thread(new Runnable() {
logger.info("增量更新solr索引库完成"); @Override
public void run() {
phyResourceManage.deltaUpdate();
logger.info("增量更新solr索引库完成");
}
}).start();
} }
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论