Interface UnitOfWork<E extends java.lang.Exception>

  • Type Parameters:
    E - The type of the exception, that the task may throw.
    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 UnitOfWork<E extends java.lang.Exception>
    A task to be performed within a single database transaction.
    • Method Detail

      • run

        void run()
          throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception