Class RestoreIndexSnapshotMaintenanceTaskRunner
java.lang.Object
com.atlassian.confluence.impl.system.runner.RestoreIndexSnapshotMaintenanceTaskRunner
- All Implemented Interfaces:
- SystemMaintenanceTaskRunner<RestoreIndexSnapshotMaintenanceTask>
public class RestoreIndexSnapshotMaintenanceTaskRunner
extends Object
implements SystemMaintenanceTaskRunner<RestoreIndexSnapshotMaintenanceTask>
- Since:
- 7.7.0
- 
Constructor SummaryConstructorsConstructorDescriptionRestoreIndexSnapshotMaintenanceTaskRunner(SystemMaintenanceTaskRegistry registry, LuceneIndexSnapshotManager luceneIndexSnapshotManager, ReIndexJobManager reIndexJobManager, ClusterManager clusterManager, com.atlassian.event.api.EventPublisher eventPublisher, JournalStateStore journalStateStore, SearchPlatformConfig searchPlatformConfig) 
- 
Method Summary
- 
Constructor Details- 
RestoreIndexSnapshotMaintenanceTaskRunnerpublic RestoreIndexSnapshotMaintenanceTaskRunner(SystemMaintenanceTaskRegistry registry, LuceneIndexSnapshotManager luceneIndexSnapshotManager, ReIndexJobManager reIndexJobManager, ClusterManager clusterManager, com.atlassian.event.api.EventPublisher eventPublisher, JournalStateStore journalStateStore, SearchPlatformConfig searchPlatformConfig) 
 
- 
- 
Method Details- 
register@PostConstruct public void register()
- 
unregister@PreDestroy public void unregister()
- 
executepublic void execute(RestoreIndexSnapshotMaintenanceTask task) throws MaintenanceTaskExecutionException Description copied from interface:SystemMaintenanceTaskRunnerExecute theSystemMaintenanceTask. If aMaintenanceTaskExecutionExceptionis thrown during execution, the task will be retried next time theJournalSystemMaintenanceTaskQueueis flushed. Any other exceptions thrown will cause the task to be skipped.- Specified by:
- executein interface- SystemMaintenanceTaskRunner<RestoreIndexSnapshotMaintenanceTask>
- Throws:
- MaintenanceTaskExecutionException- if the execution fails but should be retried at a later date
 
 
-