Package com.atlassian.jira.cluster.dbr
Class DefaultDBRSender
java.lang.Object
com.atlassian.jira.cluster.dbr.DefaultDBRSender
- All Implemented Interfaces:
DBRSender
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDBRSender
(DBRMessageFactory documentMessageFactory, FeatureManager featureManager, DBRTransportManager dbrTransportManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
sendUpdate
(IndexDirectoryFactory.Name index, org.apache.lucene.document.Document document, long cost) send a dbr update message to other nodesvoid
sendUpdateWithRelated
(DefaultIssueIndexer.Documents documents, long cost) send a dbr update with related message to other nodesreturn total stats
-
Constructor Details
-
DefaultDBRSender
public DefaultDBRSender(DBRMessageFactory documentMessageFactory, FeatureManager featureManager, DBRTransportManager dbrTransportManager)
-
-
Method Details
-
sendUpdateWithRelated
Description copied from interface:DBRSender
send a dbr update with related message to other nodes- Specified by:
sendUpdateWithRelated
in interfaceDBRSender
-
sendUpdate
public void sendUpdate(IndexDirectoryFactory.Name index, org.apache.lucene.document.Document document, long cost) Description copied from interface:DBRSender
send a dbr update message to other nodes- Specified by:
sendUpdate
in interfaceDBRSender
-
totalStats
Description copied from interface:DBRSender
return total stats- Specified by:
totalStats
in interfaceDBRSender
-