Class ResetExpiredJobsRunnable
java.lang.Object
org.activiti.engine.impl.asyncexecutor.ResetExpiredJobsRunnable
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
TenantAwareResetExpiredJobsRunnable
Runnable that checks the
Job entities periodically for 'expired' jobs.
When a job is executed, it is first locked (lock owner and lock time is set).
A job is expired when this lock time is exceeded. This can happen when an executor
goes down before completing a task.
This runnable will find such jobs and reset them, so they can be picked up again.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AsyncExecutorprotected booleanprotected final AtomicBooleanprotected final Object -
Constructor Summary
Constructors -
Method Summary