Interface TransactionAction

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 TransactionAction
事务操作接口。

表示一个在事务中执行的无返回值操作。

Since:
1.0.0
Version:
1.0.0
Author:
Berry_so
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    执行事务操作。
  • Method Details

    • execute

      void execute() throws Exception
      执行事务操作。
      Throws:
      Exception - 如果执行过程中发生异常