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
ConstructorDescriptionReIndexingDurationIpdJob
(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
Modifier and TypeMethodDescriptionvoid
onReIndexJobFinishedEvent
(ReindexFinishedEvent reIndexFinishedEvent) void
runJob()
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.diagnostics.ipd.internal.spi.IpdJob
isWorkInProgressJob
-
Constructor Details
-
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 Details
-
runJob
public void runJob()- Specified by:
runJob
in interfacecom.atlassian.diagnostics.ipd.internal.spi.IpdJob
-
unregisterForEvents
@PreDestroy public void unregisterForEvents() -
onReIndexJobFinishedEvent
-