Package org.mycore.services.queuedjob
Class MCRStalledJobResetter
java.lang.Object
org.mycore.services.queuedjob.MCRStalledJobResetter
- All Implemented Interfaces:
Runnable
Resets jobs that took to long to perform action.
Set property
MCR.QueuedJob.TimeTillReset
to alter grace period.- Author:
- René Adler
-
Method Summary
Modifier and TypeMethodDescriptionstatic MCRStalledJobResetter
getInstance
(Class<? extends MCRJobAction> action) void
run()
Resets jobs toMCRJobStatus.NEW
that where in statusMCRJobStatus.PROCESSING
for to long time.
-
Method Details
-
getInstance
-
run
public void run()Resets jobs toMCRJobStatus.NEW
that where in statusMCRJobStatus.PROCESSING
for to long time.
-