R
- Operation result type@FunctionalInterface public interface TransactionalOperation<R>
The operation execution can return a result.
Modifier and Type | Interface and Description |
---|---|
static interface |
TransactionalOperation.TransactionalInvocation
Represents a transactional operation execution which do not return a result.
|
Modifier and Type | Method and Description |
---|---|
R |
execute(Transaction transaction)
Execute a transactional operation using given
Transaction and return a result. |
R execute(Transaction transaction)
Transaction
and return a result.transaction
- The transaction reference, which can be used to perform Transaction.commit()
and
Transaction.rollback()
operationsTransactionStatus.TransactionException
- If an execution error occurredCopyright © 2018 The Holon Platform. All rights reserved.