com.atlassian.jira.util.thread
Interface JiraThreadLocalUtils.ProblemDeterminationCallback

Enclosing class:
JiraThreadLocalUtils

public static interface JiraThreadLocalUtils.ProblemDeterminationCallback

This interface is used as a callback mechansim in the case where "runnnable code" has completed and left things in a bad way. Typically all that can be done is to log the problem. This interface allows the detection of the problem and the logging to be separated.


Method Summary
 void onOpenTransaction()
          Called when the system detects an open database transaction still in play.
 

Method Detail

onOpenTransaction

void onOpenTransaction()
Called when the system detects an open database transaction still in play. This should only be invoked if the called code "stuffed" up and forgot to clean up after itself. Its not expected that this should ever be called if things are dont properly..



Copyright © 2002-2012 Atlassian. All Rights Reserved.