| org.jboss.tm.TransactionTimeoutConfiguration
All known Subclasses: org.jboss.tm.TxManager,
TransactionTimeoutConfiguration | public interface TransactionTimeoutConfiguration (Code) | | The interface to implementated by a transaction manager
that supports retrieving the current threads transaction timeout
author: Adrian Brock version: $Revision: 57208 $ |
getTimeLeftBeforeTransactionTimeout | long getTimeLeftBeforeTransactionTimeout(boolean errorRollback) throws RollbackException(Code) | | Get the time left before transaction timeout
Parameters: errorRollback - throw an error if the transaction is marked for rollback the remaining in the current transaction or -1if there is no transaction throws: RollbackException - if the transaction is marked for rollback anderrorRollback is true |
getTransactionTimeout | int getTransactionTimeout() throws SystemException(Code) | | Get the transaction timeout.
the timeout in seconds associated with this thread throws: SystemException - for any error |
|
|