Class JobHelper

java.lang.Object
org.codelibs.fess.helper.JobHelper

public class JobHelper extends Object
  • Field Details

    • monitorInterval

      protected int monitorInterval
    • jobRuntimeLocal

      protected ThreadLocal<org.lastaflute.job.LaJobRuntime> jobRuntimeLocal
  • Constructor Details

    • JobHelper

      public JobHelper()
  • Method Details

    • register

      public void register(ScheduledJob scheduledJob)
    • register

      public void register(org.lastaflute.job.LaCron cron, ScheduledJob scheduledJob)
    • unregister

      public void unregister(ScheduledJob scheduledJob)
    • remove

      public void remove(ScheduledJob scheduledJob)
    • isAvailable

      public boolean isAvailable(String id)
    • store

      public void store(JobLog jobLog)
    • startMonitorTask

      public org.codelibs.core.timer.TimeoutTask startMonitorTask(JobLog jobLog)
    • setMonitorInterval

      public void setMonitorInterval(int monitorInterval)
    • setJobRuntime

      public void setJobRuntime(org.lastaflute.job.LaJobRuntime runtime)
    • getJobRuntime

      public org.lastaflute.job.LaJobRuntime getJobRuntime()