Class TrackerJob

  • All Implemented Interfaces:
    org.quartz.Job

    @DisallowConcurrentExecution
    public class TrackerJob
    extends java.lang.Object
    implements org.quartz.Job
    Generic Solr tracker job, allowing Quartz to initiate an index update from a Tracker regardless of specific implementation. Concurrent execution is disallowed, as no parallel work can be done when indexing contents from the repository.
    Author:
    Matt Ward
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String JOBDATA_TRACKER_KEY  
      protected static org.slf4j.Logger log  
    • Constructor Summary

      Constructors 
      Constructor Description
      TrackerJob()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(org.quartz.JobExecutionContext jec)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • JOBDATA_TRACKER_KEY

        public static final java.lang.String JOBDATA_TRACKER_KEY
        See Also:
        Constant Field Values
      • log

        protected static final org.slf4j.Logger log
    • Constructor Detail

      • TrackerJob

        public TrackerJob()
    • Method Detail

      • execute

        public void execute​(org.quartz.JobExecutionContext jec)
                     throws org.quartz.JobExecutionException
        Specified by:
        execute in interface org.quartz.Job
        Throws:
        org.quartz.JobExecutionException