Class ReIndexingDurationIpdJob
- java.lang.Object
-
- com.atlassian.confluence.internal.diagnostics.ipd.index.ReIndexingDurationIpdJob
-
- All Implemented Interfaces:
com.atlassian.diagnostics.ipd.internal.spi.IpdJob
public class ReIndexingDurationIpdJob extends Object implements com.atlassian.diagnostics.ipd.internal.spi.IpdJob
IPD Job that measures the full reindex time when it's updated.- Since:
- 8.4.0
-
-
Constructor Summary
Constructors Constructor Description ReIndexingDurationIpdJob(com.atlassian.diagnostics.ipd.internal.spi.IpdJobRunner ipdJobRunner, com.atlassian.diagnostics.internal.ipd.IpdMainRegistry ipdMainRegistry, com.atlassian.event.api.EventPublisher eventPublisher, FullReindexManager fullReindexManager)
ReIndexingDurationIpdJob(com.atlassian.diagnostics.ipd.internal.spi.IpdJobRunner ipdJobRunner, com.atlassian.diagnostics.internal.ipd.IpdMainRegistry ipdMainRegistry, com.atlassian.event.api.EventPublisher eventPublisher, FullReindexManager fullReindexManager, com.atlassian.core.util.Clock clock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onReIndexJobFinishedEvent(ReindexFinishedEvent reIndexFinishedEvent)
void
runJob()
void
unregisterForEvents()
-
-
-
Constructor Detail
-
ReIndexingDurationIpdJob
public ReIndexingDurationIpdJob(com.atlassian.diagnostics.ipd.internal.spi.IpdJobRunner ipdJobRunner, com.atlassian.diagnostics.internal.ipd.IpdMainRegistry ipdMainRegistry, com.atlassian.event.api.EventPublisher eventPublisher, FullReindexManager fullReindexManager)
-
ReIndexingDurationIpdJob
public ReIndexingDurationIpdJob(com.atlassian.diagnostics.ipd.internal.spi.IpdJobRunner ipdJobRunner, com.atlassian.diagnostics.internal.ipd.IpdMainRegistry ipdMainRegistry, com.atlassian.event.api.EventPublisher eventPublisher, FullReindexManager fullReindexManager, com.atlassian.core.util.Clock clock)
-
-
Method Detail
-
runJob
public void runJob()
- Specified by:
runJob
in interfacecom.atlassian.diagnostics.ipd.internal.spi.IpdJob
-
unregisterForEvents
@PreDestroy public void unregisterForEvents()
-
onReIndexJobFinishedEvent
@EventListener public void onReIndexJobFinishedEvent(ReindexFinishedEvent reIndexFinishedEvent)
-
-