com.atomikos.icatch.admin.jmx
Interface JmxHeuristicTransactionMBean

All Superinterfaces:
JmxTransactionMBean
All Known Implementing Classes:
JmxHeuristicTransaction

public interface JmxHeuristicTransactionMBean
extends JmxTransactionMBean

An MBean for heuristic pending transactions.


Method Summary
 void forceForget()
          Force the system to forget about the transaction.
 boolean getCommitted()
          Test if the transaction's 2PC outcome was commit.
 
Methods inherited from interface com.atomikos.icatch.admin.jmx.JmxTransactionMBean
getHeuristicMessages, getState, getTags, getTid
 

Method Detail

getCommitted

boolean getCommitted()
Test if the transaction's 2PC outcome was commit. Needed especially for the heuristic states, if the desired outcome (instead of the actual state) needs to be retrieved. For instance, if the state is STATE_HEUR_HAZARD then extra information is needed for determining if the desired outcome was commit or rollback. This method helps here.

Returns:
boolean True iff commit decided (either heuristically or by the super coordinator.

forceForget

void forceForget()
Force the system to forget about the transaction.



Copyright © 2011. All Rights Reserved.