Uses of Interface
org.kie.kogito.uow.WorkUnit

Packages that use WorkUnit
Package
Description
 
  • Uses of WorkUnit in org.kie.kogito.uow

    Methods in org.kie.kogito.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 work
    static <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 org.kie.kogito.uow with parameters of type WorkUnit
    Modifier and Type
    Method
    Description
    void
    UnitOfWork.intercept(WorkUnit work)
    Intercepts work that should be done as part of this unit of work.