Class IndexerEventPublisher
java.lang.Object
com.atlassian.confluence.impl.search.IndexerEventPublisher
A utility for class for publishing events to
IndexerEventListener via an EventPublisher.- Since:
- 7.5
-
Constructor Summary
ConstructorsConstructorDescriptionIndexerEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionvoidpublishCallbackEvent(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.
-
Constructor Details
-
IndexerEventPublisher
public IndexerEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
publishCallbackEvent
Publishes an event which will received byIndexerEventListener, which in turn will invoke the supplied callback with theConfluenceIndexer. -
publishCallbackEvent
Publishes an event which will received byIndexerEventListener, which in turn will invoke the supplied callback with theConfluenceIndexerand theChangeIndexer.
-