站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 transaction API Documentation 英文版文档

TransactionTimeout (JBoss Transaction API) - JBoss 3.2.7 transaction API Documentation 英文版文档


org.jboss.tm
Class TransactionTimeout

java.lang.Object
  extended byorg.jboss.tm.TransactionTimeout

public class TransactionTimeout
extends Object

Created by IntelliJ IDEA. User: wburke Date: Oct 9, 2003 Time: 9:48:57 AM To change this template use Options | File Templates.


Nested Class Summary
static class TransactionTimeout.TransactionTimeoutException
           
 
Field Summary
protected  TransactionManager transactionManager
          The transaction manager is maintained by the system and manges the assocation of transaction to threads.
 
Method Summary
static long getTimeLeftInTransaction()
           
 long getTimeLeftInTx()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transactionManager

protected final TransactionManager transactionManager
The transaction manager is maintained by the system and manges the assocation of transaction to threads.

Method Detail

getTimeLeftInTx

public long getTimeLeftInTx()
                     throws TransactionTimeout.TransactionTimeoutException
Returns:
-1 if unable to determine time left in transaction
Throws:
TransactionTimeout.TransactionTimeoutException - if transaction is timed out

getTimeLeftInTransaction

public static long getTimeLeftInTransaction()
                                     throws TransactionTimeout.TransactionTimeoutException
Throws:
TransactionTimeout.TransactionTimeoutException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.