Class IndexerEventPublisher
- java.lang.Object
-
- com.atlassian.confluence.impl.search.IndexerEventPublisher
-
public final class IndexerEventPublisher extends Object
A utility for class for publishing events toIndexerEventListenervia anEventPublisher.- Since:
- 7.5
-
-
Constructor Summary
Constructors Constructor Description IndexerEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpublishCallbackEvent(BiConsumer<ConfluenceIndexer,ChangeIndexer> indexersTask)Publishes an event which will received byIndexerEventListener, which in turn will invoke the supplied callback with theConfluenceIndexerand theChangeIndexer.voidpublishCallbackEvent(Consumer<ConfluenceIndexer> indexerTask)Publishes an event which will received byIndexerEventListener, which in turn will invoke the supplied callback with theConfluenceIndexer.
-
-
-
Method Detail
-
publishCallbackEvent
public void publishCallbackEvent(Consumer<ConfluenceIndexer> indexerTask)
Publishes an event which will received byIndexerEventListener, which in turn will invoke the supplied callback with theConfluenceIndexer.
-
publishCallbackEvent
public void publishCallbackEvent(BiConsumer<ConfluenceIndexer,ChangeIndexer> indexersTask)
Publishes an event which will received byIndexerEventListener, which in turn will invoke the supplied callback with theConfluenceIndexerand theChangeIndexer.
-
-