public class StartupCleanAction
extends java.lang.Object
implements java.lang.Runnable
This action is designed to prevent tasks of hangin in abnormal states in case of application restarts.
Action assumed all incomlete tasks are failed, so if retry policy is used, these actions will be retry immediately.
| Constructor and Description |
|---|
StartupCleanAction(TaskRepository taskRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
public StartupCleanAction(TaskRepository taskRepository)