TransactionalOperation (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.tx, interface: TransactionalOperation

# Interface TransactionalOperation<T>

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TransactionalOperation<T>

Since:
  4.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `perform()`
  A callback method that `TransactionManager` invokes, `TransactionManager` will wrap this method call in a single thread-bound transaction.

- ## Method Details

  - ### perform

    T perform()
    A callback method that `TransactionManager` invokes, `TransactionManager` will wrap this method call in a single thread-bound transaction.