public interface SystemMaintenanceTaskRunner<T extends SystemMaintenanceTask>
SystemMaintenanceTask.
Each pair of SystemMaintenanceTaskRunner and SystemMaintenanceTask must be
registered in SystemMaintenanceTaskRegistry.| Modifier and Type | Method and Description |
|---|---|
void |
execute(T task)
Execute the
SystemMaintenanceTask. |
void execute(T task) throws MaintenanceTaskExecutionException
SystemMaintenanceTask. If a MaintenanceTaskExecutionException is thrown during
execution, the task will be retried next time the JournalSystemMaintenanceTaskQueue is flushed. Any other
exceptions thrown will cause the task to be skipped.MaintenanceTaskExecutionException - if the execution fails but should be retried at a later dateCopyright © 2003–2022 Atlassian. All rights reserved.