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 SystemException
SystemException
- for any errorlong getTimeLeftBeforeTransactionTimeout(boolean errorRollback) throws RollbackException
errorRollback
- throw an error if the transaction is marked for rollbackRollbackException
- if the transaction is marked for rollback and
errorRollback is trueCopyright © 2024 JBoss by Red Hat. All rights reserved.