com.atomikos.icatch.admin.jmx
Class JmxPreparedTransaction
java.lang.Object
com.atomikos.icatch.admin.jmx.JmxTransaction
com.atomikos.icatch.admin.jmx.JmxPreparedTransaction
- All Implemented Interfaces:
- JmxPreparedTransactionMBean, JmxTransactionMBean, MBeanRegistration
public class JmxPreparedTransaction
- extends JmxTransaction
- implements JmxPreparedTransactionMBean
An MBean wrapper for a prepared AdminTransaction.
Method Summary |
void |
forceCommit()
Force commit of the transaction. |
void |
forceRollback()
Force rollback of the transaction. |
Methods inherited from class com.atomikos.icatch.admin.jmx.JmxTransaction |
convertHeuristicMessages, convertState, getAdminTransaction, getHeuristicMessages, getState, getTags, getTid, postDeregister, postRegister, preDeregister, preRegister, unregister |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmxPreparedTransaction
public JmxPreparedTransaction(AdminTransaction adminTransaction)
- Parameters:
adminTransaction
- The wrapped instance.
forceCommit
public void forceCommit()
throws HeurRollbackException,
HeurHazardException,
HeurMixedException,
SysException
- Description copied from interface:
JmxPreparedTransactionMBean
- Force commit of the transaction.
- Specified by:
forceCommit
in interface JmxPreparedTransactionMBean
- Throws:
HeurRollbackException
HeurHazardException
HeurMixedException
SysException
- See Also:
com.atomikos.icatch.admin.jmx.PreparedTransactionMBean#forceCommit()
forceRollback
public void forceRollback()
throws HeurCommitException,
HeurHazardException,
HeurMixedException,
SysException
- Description copied from interface:
JmxPreparedTransactionMBean
- Force rollback of the transaction.
- Specified by:
forceRollback
in interface JmxPreparedTransactionMBean
- Throws:
HeurCommitException
HeurHazardException
HeurMixedException
SysException
- See Also:
com.atomikos.icatch.admin.jmx.PreparedTransactionMBean#forceRollback()
Copyright © 2011. All Rights Reserved.