public class PluginTransactionListener extends Object
PluginTransactionEndEvent
and
translating it to JiraPluginTransactionEndEvent
which is send in no-cache replication context.
Also prints some statistics for diagnostic purpose.Constructor and Description |
---|
PluginTransactionListener(com.atlassian.event.api.EventPublisher eventPublisher,
ReplicationPauserManager replicationPauserManager,
JiraProperties jiraProperties) |
Modifier and Type | Method and Description |
---|---|
void |
onPluginFrameworkShutdownEvent(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event) |
void |
onPluginTransactionStartEvent(com.atlassian.plugin.event.events.PluginTransactionStartEvent pluginTransactionStartEvent) |
void |
onPluginTransactionStopEvent(com.atlassian.plugin.event.events.PluginTransactionEndEvent pluginTransactionStopEvent) |
public PluginTransactionListener(com.atlassian.event.api.EventPublisher eventPublisher, ReplicationPauserManager replicationPauserManager, JiraProperties jiraProperties)
@EventListener public void onPluginFrameworkShutdownEvent(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event)
@EventListener public void onPluginTransactionStartEvent(com.atlassian.plugin.event.events.PluginTransactionStartEvent pluginTransactionStartEvent)
@EventListener public void onPluginTransactionStopEvent(com.atlassian.plugin.event.events.PluginTransactionEndEvent pluginTransactionStopEvent)
Copyright © 2002-2019 Atlassian. All Rights Reserved.