Uses of Interface
io.automatiko.engine.api.uow.WorkUnit
-
Packages that use WorkUnit Package Description io.automatiko.engine.api.uow -
-
Uses of WorkUnit in io.automatiko.engine.api.uow
Methods in io.automatiko.engine.api.uow that return WorkUnit Modifier and Type Method Description static <S> WorkUnit<S>WorkUnit. create(S data, Consumer<S> action)Creates new WorkUnit that has only action invoked upon completion of the unit of workstatic <S> WorkUnit<S>WorkUnit. create(S data, Consumer<S> action, Consumer<S> compensation)Creates new WorkUnit that has both action invoked upon completion of the unit of work and compensation invoked in case of unit of work cancellation.Methods in io.automatiko.engine.api.uow with parameters of type WorkUnit Modifier and Type Method Description voidUnitOfWork. intercept(WorkUnit<?> work)Intercepts work that should be done as part of this unit of work.
-