|
|
|
@ -52,7 +52,7 @@ public class CacheInit { |
|
|
|
//物模型的初始化 |
|
|
|
cacheModel(); |
|
|
|
//定时打印缓存 |
|
|
|
notificationsConsumerExecutor.scheduleAtFixedRate(thingCache::printStats, 0, 3, TimeUnit.SECONDS); |
|
|
|
notificationsConsumerExecutor.scheduleAtFixedRate(thingCache::printStats, 0, 3, TimeUnit.HOURS); |
|
|
|
log.info("thing 【物模型:物实体:物指标】 cache init end"); |
|
|
|
} |
|
|
|
|
|
|
|
|