Class AllJobScheduler

java.lang.Object
org.codelibs.fess.app.job.AllJobScheduler
All Implemented Interfaces:
org.lastaflute.job.LaJobScheduler

public class AllJobScheduler extends Object implements org.lastaflute.job.LaJobScheduler
Job scheduler for managing all scheduled jobs in Fess. Implements LaJobScheduler to handle job scheduling and execution.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
    Application type identifier for job context
    protected Class<? extends org.lastaflute.job.LaJob>
    The job class to be executed by this scheduler
    protected long
    The timestamp when the scheduler was last updated
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.lastaflute.job.LaJobRunner
     
    void
    schedule(org.lastaflute.job.LaCron cron)
     
    void
    setJobClass(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, wait

    Methods inherited from interface org.lastaflute.job.LaJobScheduler

    errorIfConcurrent, hookJustAfterBooting, quitIfConcurrent, waitIfConcurrent
  • Field Details

    • APP_TYPE

      protected static final String APP_TYPE
      Application type identifier for job context
      See Also:
    • jobClass

      protected Class<? extends org.lastaflute.job.LaJob> jobClass
      The job class to be executed by this scheduler
    • schedulerTime

      protected long schedulerTime
      The 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:
      schedule in interface org.lastaflute.job.LaJobScheduler
    • createRunner

      public org.lastaflute.job.LaJobRunner createRunner()
      Specified by:
      createRunner in interface org.lastaflute.job.LaJobScheduler
    • setJobClass

      public void setJobClass(Class<? extends org.lastaflute.job.LaJob> jobClass)
      Sets the job class to be executed by this scheduler.
      Parameters:
      jobClass - the job class to set