public interface TransactionListener
Transaction
. Used by Table
to notify cache of
transaction boundaries.Modifier and Type | Method and Description |
---|---|
void |
begin(Transaction transaction)
Indicates start of transaction.
|
void |
commit(Transaction transaction)
Indicates that transaction is completing normally.
|
void |
rollback(Transaction transaction)
Indicates that transaction is completing normally.
|
void begin(Transaction transaction)
Transaction.isActive()
.transaction
- database transaction that is source of eventvoid commit(Transaction transaction)
Connection.commit()
and
while Transaction.isActive()
so that connection may be used for additional related
database activity if needed.transaction
- database transaction that is source of eventvoid rollback(Transaction transaction)
Connection.rollback()
and
while Transaction.isActive()
so that connection may be used for additional related
database activity if needed.transaction
- database transaction that is source of event