|
|
@ -247,9 +247,10 @@ public class ESDStrategyConfigPane extends BasicBeanPane<StrategyConfig> { |
|
|
|
Date next1 = cron.getNextValidTimeAfter(new Date()); |
|
|
|
Date next1 = cron.getNextValidTimeAfter(new Date()); |
|
|
|
Date next2 = cron.getNextValidTimeAfter(next1); |
|
|
|
Date next2 = cron.getNextValidTimeAfter(next1); |
|
|
|
return next2.getTime() - next1.getTime() >= CacheConstants.MILLIS_OF_MINUTE; |
|
|
|
return next2.getTime() - next1.getTime() >= CacheConstants.MILLIS_OF_MINUTE; |
|
|
|
} catch (ParseException e) { |
|
|
|
} catch (ParseException e) { |
|
|
|
throw new RuntimeException(e); |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected String title4PopupWindow() { |
|
|
|
protected String title4PopupWindow() { |
|
|
|