public interface TransactionTimeoutConfiguration
Modifier and Type | Method and Description |
---|---|
long |
getTimeLeftBeforeTransactionTimeout(boolean errorRollback)
Get the time left before transaction timeout.
|
int |
getTransactionTimeout()
Get the transaction timeout.
|
int getTransactionTimeout() throws javax.transaction.SystemException
javax.transaction.SystemException
- For any errorlong getTimeLeftBeforeTransactionTimeout(boolean errorRollback) throws javax.transaction.RollbackException
errorRollback
- throw an error if the transaction is marked for rollbackjavax.transaction.RollbackException
- If the transaction is marked for rollback and
errorRollback is trueCopyright © 2013 IronJacamar (http://www.ironjacamar.org)