...
|
...
|
@@ -19,10 +19,9 @@ public class ZookeeperMonitorTask { |
|
|
IZkMonitorHandleService zkMonitorService;
|
|
|
|
|
|
//@Scheduled(fixedRate=20000)
|
|
|
@Scheduled(cron="0 0/15 * * * ? ")
|
|
|
@Scheduled(cron="0 0/2 * * * ? ")
|
|
|
public void zookeeperMonitor() {
|
|
|
zkMonitorService.zookeeperMonitor();
|
|
|
}
|
|
|
|
|
|
|
|
|
} |
...
|
...
|
|