Package com.pyranid

Interface TransactionalOperation

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

Represents an operation performed with a transactional context.

See ReturningTransactionalOperation for a variant which supports returning a value.

Since:
1.0.0
Author:
Mark Allen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes a transactional operation.
  • Method Details

    • perform

      void perform() throws Exception
      Executes a transactional operation.
      Throws:
      Exception - if an error occurs while executing the transactional operation