public interface ITransactionStatus
Modifier and Type | Method and Description |
---|---|
boolean |
isCompleted()
Return whether this transaction is completed, that is, whether it has already been committed
or rolled back.
|
boolean |
isNewTransaction()
Return whether the present transaction is new (else participating in an existing transaction,
or potentially not running in an actual transaction in the first place).
|
boolean |
isRollbackOnly()
Return whether the transaction has been marked as rollback-only (either by the application or
by the transaction infrastructure).
|
void |
setRollbackOnly()
Set the transaction rollback-only.
|
boolean isCompleted()
true
if completed, false
otherwiseboolean isNewTransaction()
true
if new transaction, false
otherwiseboolean isRollbackOnly()
true
if marked as rollback only, false
otherwisevoid setRollbackOnly()