Class 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 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 interface com.atlassian.diagnostics.ipd.internal.spi.IpdJob
      • unregisterForEvents

        @PreDestroy
        public void unregisterForEvents()
      • onReIndexJobFinishedEvent

        @EventListener
        public void onReIndexJobFinishedEvent​(ReindexFinishedEvent reIndexFinishedEvent)