Package org.codelibs.fess.helper
Class JobHelper
java.lang.Object
org.codelibs.fess.helper.JobHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ThreadLocal<org.lastaflute.job.LaJobRuntime>protected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.lastaflute.job.LaJobRuntimebooleanisAvailable(String id) voidregister(ScheduledJob scheduledJob) voidregister(org.lastaflute.job.LaCron cron, ScheduledJob scheduledJob) voidremove(ScheduledJob scheduledJob) voidsetJobRuntime(org.lastaflute.job.LaJobRuntime runtime) voidsetMonitorInterval(int monitorInterval) org.codelibs.core.timer.TimeoutTaskstartMonitorTask(JobLog jobLog) voidvoidunregister(ScheduledJob scheduledJob)
-
Field Details
-
monitorInterval
protected int monitorInterval -
jobRuntimeLocal
-
-
Constructor Details
-
JobHelper
public JobHelper()
-
-
Method Details
-
register
-
register
-
unregister
-
remove
-
isAvailable
-
store
-
startMonitorTask
-
setMonitorInterval
public void setMonitorInterval(int monitorInterval) -
setJobRuntime
public void setJobRuntime(org.lastaflute.job.LaJobRuntime runtime) -
getJobRuntime
public org.lastaflute.job.LaJobRuntime getJobRuntime()
-