Package | Description |
---|---|
com.speedment.runtime.core.component.transaction |
Classes related to transactions, such as
Transaction and
TransactionHandler are located in this package. |
Modifier and Type | Method and Description |
---|---|
void |
Transaction.commit()
Makes all changes made since the previous commit/rollback permanent and
releases any transaction domain locks currently affected by this
Transaction object. |
default void |
TransactionHandler.createAndAccept(Consumer<? super Transaction> action)
Creates a new
Transaction and invokes the provided action with
the new transaction. |
<R> R |
TransactionHandler.createAndApply(Function<? super Transaction,? extends R> mapper)
Creates a new
Transaction and returns the value of applying the
given function to the new transaction. |
void |
Transaction.rollback()
Undoes all changes made in the current transaction and releases any
transaction domain locks currently affected by this
Transaction object. |
Copyright © 2018 Speedment, Inc.. All rights reserved.