@ExperimentalApi public interface OnCommitJiraIssueEvent extends OnCommitEvent<JiraIssueEvent>
JiraIssueEvent
events. The OnCommitJiraIssueEvent
is supposed to be fired on
commit if it's in a transaction, otherwise fired immediately.
While the JiraIssueEvent
may be fired before commit.
This means that when listening to JiraIssueEvent
event, inaccurate data may be retrieved from database,
while listening to OnCommitJiraIssueEvent
guarantees the correct data.
There is no guarantee that the data in the wrapped JiraIssueEvent
has been updated after the commit,
and before publishing this message. However OnCommitEvent.getOnCommitEventDataReloadStatus()
and
OnCommitEvent.getOnCommitEventTransactionStatus()
can be used as a guide.
OnCommitEvent.OnCommitEventDataReloadStatus, OnCommitEvent.OnCommitEventTransactionStatus, OnCommitEvent.OnCommitEventTransactionStatusSettable<E>
getOnCommitEventDataReloadStatus, getOnCommitEventTransactionStatus, getWrappedEvent
Copyright © 2002-2017 Atlassian. All Rights Reserved.