com.atlassian.jira.cluster
Class EventMessageConsumer
java.lang.Object
com.atlassian.jira.cluster.EventMessageConsumer
- All Implemented Interfaces:
- ClusterMessageConsumer
public class EventMessageConsumer
- extends Object
- implements ClusterMessageConsumer
Consumes cluster messages and pushes them out to the EventPublisher.
- Since:
- v6.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IMPORT_STARTED
public static final String IMPORT_STARTED
- See Also:
- Constant Field Values
IMPORT_FINISHED
public static final String IMPORT_FINISHED
- See Also:
- Constant Field Values
EventMessageConsumer
public EventMessageConsumer(com.atlassian.event.api.EventPublisher eventPublisher)
importFinishedMessage
public static Message importFinishedMessage(Boolean success)
importStartedMessage
public static Message importStartedMessage()
receive
public void receive(String channel,
String message,
String senderId)
- Description copied from interface:
ClusterMessageConsumer
- Called by the ClusterMessagingService when there is a message waiting to be processed by a node.
- Specified by:
receive
in interface ClusterMessageConsumer
- Parameters:
channel
- The channel the message was sent tomessage
- The content of the messagesenderId
- The id of the node that raised the message
Copyright © 2002-2014 Atlassian. All Rights Reserved.