Package org.codelibs.fess.app.job
Class AllJobScheduler
java.lang.Object
org.codelibs.fess.app.job.AllJobScheduler
- All Implemented Interfaces:
org.lastaflute.job.LaJobScheduler
Job scheduler for managing all scheduled jobs in Fess.
Implements LaJobScheduler to handle job scheduling and execution.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.lastaflute.job.LaJobRunnervoidschedule(org.lastaflute.job.LaCron cron) voidsetJobClass(Class<? extends org.lastaflute.job.LaJob> jobClass) Sets the job class to be executed by this scheduler.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.lastaflute.job.LaJobScheduler
errorIfConcurrent, hookJustAfterBooting, quitIfConcurrent, waitIfConcurrent
-
Field Details
-
APP_TYPE
Application type identifier for job context- See Also:
-
jobClass
The job class to be executed by this scheduler -
schedulerTime
protected long schedulerTimeThe timestamp when the scheduler was last updated
-
-
Constructor Details
-
AllJobScheduler
public AllJobScheduler()Default constructor.
-
-
Method Details
-
schedule
public void schedule(org.lastaflute.job.LaCron cron) - Specified by:
schedulein interfaceorg.lastaflute.job.LaJobScheduler
-
createRunner
public org.lastaflute.job.LaJobRunner createRunner()- Specified by:
createRunnerin interfaceorg.lastaflute.job.LaJobScheduler
-
setJobClass
Sets the job class to be executed by this scheduler.- Parameters:
jobClass- the job class to set
-