public final class IndexerEventPublisher extends Object
IndexerEventListener via an EventPublisher.| Constructor and Description |
|---|
IndexerEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) |
| Modifier and Type | Method and Description |
|---|---|
void |
publishCallbackEvent(BiConsumer<ConfluenceIndexer,ChangeIndexer> indexersTask)
Publishes an event which will received by
IndexerEventListener, which in turn will invoke the supplied callback
with the ConfluenceIndexer and the ChangeIndexer. |
void |
publishCallbackEvent(Consumer<ConfluenceIndexer> indexerTask)
Publishes an event which will received by
IndexerEventListener, which in turn will invoke the supplied callback
with the ConfluenceIndexer. |
public IndexerEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
public void publishCallbackEvent(Consumer<ConfluenceIndexer> indexerTask)
IndexerEventListener, which in turn will invoke the supplied callback
with the ConfluenceIndexer.public void publishCallbackEvent(BiConsumer<ConfluenceIndexer,ChangeIndexer> indexersTask)
IndexerEventListener, which in turn will invoke the supplied callback
with the ConfluenceIndexer and the ChangeIndexer.Copyright © 2003–2020 Atlassian. All rights reserved.