Package org.codelibs.fess.helper
Class IntervalControlHelper
java.lang.Object
org.codelibs.fess.helper.IntervalControlHelper
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected longprotected List<IntervalControlHelper.IntervalRule> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIntervalRule(String from, String to, String days, long delay) voidvoidprotected Calendarprotected longgetDelay()booleanprotected static int[]voidsetCrawlerRunning(boolean crawlerRunning) voidsetCrawlerWaitMillis(long crawlerWaitMillis)
-
Field Details
-
crawlerRunning
protected volatile boolean crawlerRunning -
crawlerWaitMillis
protected long crawlerWaitMillis -
ruleList
-
-
Constructor Details
-
IntervalControlHelper
public IntervalControlHelper()
-
-
Method Details
-
checkCrawlerStatus
public void checkCrawlerStatus() -
delayByRules
public void delayByRules() -
getDelay
protected long getDelay() -
getCurrentCal
-
addIntervalRule
-
isCrawlerRunning
public boolean isCrawlerRunning() -
setCrawlerRunning
public void setCrawlerRunning(boolean crawlerRunning) -
parseTime
-
setCrawlerWaitMillis
public void setCrawlerWaitMillis(long crawlerWaitMillis)
-