public class ReIndexFinishedMaintenanceTaskRunner extends Object implements SystemMaintenanceTaskRunner<ReIndexFinishedMaintenanceTask>
| Constructor and Description |
|---|
ReIndexFinishedMaintenanceTaskRunner(ClusterManager clusterManager,
LuceneIndexSnapshotManager snapshotManager,
SystemMaintenanceTaskRegistry registry,
SystemMaintenanceTaskQueue systemMaintenanceTaskQueue) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ReIndexFinishedMaintenanceTask task)
Execute the
SystemMaintenanceTask. |
void |
register() |
void |
unregister() |
public ReIndexFinishedMaintenanceTaskRunner(ClusterManager clusterManager, LuceneIndexSnapshotManager snapshotManager, SystemMaintenanceTaskRegistry registry, SystemMaintenanceTaskQueue systemMaintenanceTaskQueue)
@PostConstruct public void register()
@PreDestroy public void unregister()
public void execute(ReIndexFinishedMaintenanceTask task) throws MaintenanceTaskExecutionException
SystemMaintenanceTaskRunnerSystemMaintenanceTask. 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.execute in interface SystemMaintenanceTaskRunner<ReIndexFinishedMaintenanceTask>MaintenanceTaskExecutionException - if the execution fails but should be retried at a later dateCopyright © 2003–2021 Atlassian. All rights reserved.