Package com.atlassian.confluence.impl.search
package com.atlassian.confluence.impl.search
-
ClassDescriptionAllows us to flush an arbitrary number of index queues while exposing only one IndexFlushRequester Any method calls on instances of this class will invoke that same method on all flushRequesters passed into the constructorAllows us to use multiple
IndexManager
s under the hood whilst maintaining backwards compatibilityThis class is responsible for ensuring that index flush is requested at most once per transaction, and that it will only be scheduled once the transaction has been committed.Responsible for listening for publishedIndexerEventListener.VisitorEvent
s and passing them anConfluenceIndexer
for processing.A utility for class for publishing events toIndexerEventListener
via anEventPublisher
.Listens to RequestIndexFlushEvents and routes the flush request to the correctIndexFlushScheduler
Requests that the suppliedIndexFlushScheduler
flushes the relevant index queueEach time a flush is requested, this class will schedule a job to flush the index queue in 5 seconds, unless a flush has already been scheduled.