Commit 6fd7cfa4 authored by 赵啸非's avatar 赵啸非

测试

parent 5b135baa
...@@ -57,13 +57,17 @@ public class DemoStartedService implements IApplicationStartedService { ...@@ -57,13 +57,17 @@ public class DemoStartedService implements IApplicationStartedService {
//测试获取站点 //测试获取站点
int i=0;
while (true) { while (true) {
SiteEntity siteCache = siteService.getCache("1"); SiteEntity siteCache = siteService.getCache("1");
if (ObjectUtils.isEmpty(siteCache)) { if (ObjectUtils.isEmpty(siteCache)) {
log.error("siteCache is null"); log.error("siteCache is null");
}else {
log.info("count==>"+i);
} }
try { try {
Thread.sleep(50); Thread.sleep(50);
i++;
} catch (InterruptedException e) { } catch (InterruptedException e) {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment