public class ClusterUpgradeLogger extends Object implements ClusterMessageConsumer
Constructor and Description |
---|
ClusterUpgradeLogger(ClusterMessagingService messagingService,
JiraProperties jiraProperties) |
Modifier and Type | Method and Description |
---|---|
void |
onUpgradeApproved(JiraUpgradeApprovedEvent event) |
void |
onUpgradeCancelled(JiraUpgradeCancelledEvent event) |
void |
onUpgradeFailed(JiraUpgradeFailedEvent event) |
void |
onUpgradeFinished(JiraUpgradeFinishedEvent event) |
void |
onUpgradeStarted(JiraUpgradeStartedEvent event) |
void |
receive(String channel,
String message,
String senderId)
Called by the ClusterMessagingService when there is a message waiting to be processed by a node.
|
public ClusterUpgradeLogger(ClusterMessagingService messagingService, JiraProperties jiraProperties)
@EventListener public void onUpgradeStarted(JiraUpgradeStartedEvent event)
@EventListener public void onUpgradeApproved(JiraUpgradeApprovedEvent event)
@EventListener public void onUpgradeFinished(JiraUpgradeFinishedEvent event)
@EventListener public void onUpgradeCancelled(JiraUpgradeCancelledEvent event)
@EventListener public void onUpgradeFailed(JiraUpgradeFailedEvent event)
public void receive(String channel, String message, String senderId)
ClusterMessageConsumer
receive
in interface ClusterMessageConsumer
channel
- The channel the message was sent tomessage
- The content of the messagesenderId
- The id of the node that raised the messageCopyright © 2002-2017 Atlassian. All Rights Reserved.