Constructor and Description |
---|
AsyncDBRSender(DBRMessageFactory documentMessageFactory,
FeatureManager featureManager,
com.atlassian.event.api.EventPublisher eventPublisher,
DBRTransportManager dbrTransportManager) |
Modifier and Type | Method and Description |
---|---|
void |
onPluginFrameworkShutdown(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event) |
void |
sendUpdate(IndexDirectoryFactory.Name index,
org.apache.lucene.document.Document document,
long cost)
send a dbr update message to other nodes
|
void |
sendUpdateWithRelated(DefaultIssueIndexer.Documents documents,
long cost)
send a dbr update with related message to other nodes
|
Map |
totalStats()
return total stats
|
public AsyncDBRSender(DBRMessageFactory documentMessageFactory, FeatureManager featureManager, com.atlassian.event.api.EventPublisher eventPublisher, DBRTransportManager dbrTransportManager)
@EventListener public void onPluginFrameworkShutdown(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event)
public void sendUpdateWithRelated(DefaultIssueIndexer.Documents documents, long cost)
DBRSender
sendUpdateWithRelated
in interface DBRSender
public void sendUpdate(IndexDirectoryFactory.Name index, org.apache.lucene.document.Document document, long cost)
DBRSender
sendUpdate
in interface DBRSender
public Map totalStats()
DBRSender
totalStats
in interface DBRSender
Copyright © 2002-2023 Atlassian. All Rights Reserved.