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
IndexManagers 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.VisitorEvents and passing them anConfluenceIndexerfor processing.A utility for class for publishing events toIndexerEventListenervia anEventPublisher.Listens to RequestIndexFlushEvents and routes the flush request to the correctIndexFlushSchedulerRequests that the suppliedIndexFlushSchedulerflushes 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.