@PublicSpi
public static interface JiraThreadLocalUtil.WarningCallback
postCall
determines that it did not clean
up properly. Typically, all that can be done is to log the problem, but this interface
allows the detection of the problem and its logging to be separated, as the caller may be
able to provide more helpful information.Modifier and Type | Method and Description |
---|---|
void |
onOpenTransaction()
Called when the
postCall determines that the runnable
code began a database transaction and failed to
commit or
rollback the transaction
before it finished. |
void onOpenTransaction()
postCall
determines that the runnable
code began a database transaction
and failed to
commit
or
rollback
the transaction
before it finished.
This could result in data inconsistencies, so the runnable code should be fixed to handle transactions properly.
Copyright © 2002-2022 Atlassian. All Rights Reserved.