Package de.xima.fc.persistence.tx
Interface JpaTask<E extends Exception>
-
- Type Parameters:
E- the type of the checked exception the work may throw, orRuntimeExceptionif it throws none.
- 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 JpaTask<E extends Exception>
Work that runs in a JPA transaction without returning a result, executed byJpaTransactionRunner.runInTransaction(JpaTask).- Since:
- 8.5.6
- Author:
- Norman Lorenz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrun(JpaUnitOfWork unitOfWork)Performs the work.
-