com.arjuna.ats.arjuna.coordinator
Class CheckedAction
java.lang.Object
com.arjuna.ats.arjuna.coordinator.CheckedAction
public class CheckedAction
- extends java.lang.Object
If an action attempts to terminate with threads still active we call an
instance of this class to determine what to do. The default simply prints a
warning and relies upon the outstanding threads to find out the state of the
action later. However, this can be overridden, e.g., the thread attempting to
terminate the action may be made to block. WARNING: watch out for deadlock!
- Since:
- JTS 1.2.4.
- Version:
- $Id: CheckedAction.java 2342 2006-03-30 13:06:17Z $
- Author:
- Mark Little (mark@arjuna.com)
Method Summary |
void |
check(boolean isCommit,
Uid actUid,
java.util.Hashtable list)
Called during transaction termination if more than one thread is
associated with the transaction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckedAction
public CheckedAction()
check
public void check(boolean isCommit,
Uid actUid,
java.util.Hashtable list)
- Called during transaction termination if more than one thread is
associated with the transaction. The supplied information should be
sufficient for application specific implementations to do useful work
(such as synchronizing on the threads).