Class IndexerEventPublisher
- java.lang.Object
-
- com.atlassian.confluence.impl.search.IndexerEventPublisher
-
public final class IndexerEventPublisher extends Object
A utility for class for publishing events toIndexerEventListener
via 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 void
publishCallbackEvent(BiConsumer<ConfluenceIndexer,ChangeIndexer> indexersTask)
Publishes an event which will received byIndexerEventListener
, which in turn will invoke the supplied callback with theConfluenceIndexer
and theChangeIndexer
.void
publishCallbackEvent(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 theConfluenceIndexer
and theChangeIndexer
.
-
-