mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 11:52:08 +08:00
增加对定时任务的说明
This commit is contained in:
@@ -156,6 +156,9 @@ public class LogicalClusterMetadataManager {
|
||||
return logicalClusterDO.getClusterId();
|
||||
}
|
||||
|
||||
/**
|
||||
* 定时刷新逻辑集群元数据到缓存中
|
||||
*/
|
||||
@Scheduled(cron="0/30 * * * * ?")
|
||||
public void flush() {
|
||||
List<LogicalClusterDO> logicalClusterDOList = logicalClusterService.listAll();
|
||||
|
||||
Reference in New Issue
Block a user