Package com.atlassian.jira.cluster
Class EventMessageConsumer
java.lang.Object
com.atlassian.jira.cluster.EventMessageConsumer
- All Implemented Interfaces:
ClusterMessageConsumer
Consumes cluster messages and pushes them out to the EventPublisher.
- Since:
- v6.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageimportFinishedMessage(Boolean success) static MessagevoidCalled by the ClusterMessagingService when there is a message waiting to be processed by a node.
-
Field Details
-
IMPORT_STARTED
- See Also:
-
IMPORT_FINISHED
- See Also:
-
-
Constructor Details
-
EventMessageConsumer
public EventMessageConsumer(com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
importFinishedMessage
-
importStartedMessage
-
receive
Description copied from interface:ClusterMessageConsumerCalled by the ClusterMessagingService when there is a message waiting to be processed by a node.- Specified by:
receivein interfaceClusterMessageConsumer- Parameters:
channel- The channel the message was sent tomessage- The content of the messagesenderId- The id of the node that raised the message
-