Package org.mycore.services.queuedjob
package org.mycore.services.queuedjob
-
ClassDescriptionThe default implementation for
MCRJobStatusListener
Container class handled by hibernate to store and retrieve job information.MCRJobAction
must be extended to do some work for givenMCRJob
.The master of allMCRJobThread
s threads.Possible states of the job can be:MCRJobStatus.NEW
job added to queueMCRJobStatus.PROCESSING
job currently on processingMCRJobStatus.FINISHED
job processing is finishedInterface one must implement to get notified about when anMCRJob
has started, finished or failed.A slave thread ofMCRJobMaster
.Resets jobs that took to long to perform action.