Uses of Enum Class
org.axonframework.messaging.unitofwork.UnitOfWork.Phase
Packages that use UnitOfWork.Phase
Package
Description
-
Uses of UnitOfWork.Phase in org.axonframework.disruptor.commandhandling
Methods in org.axonframework.disruptor.commandhandling with parameters of type UnitOfWork.PhaseModifier and TypeMethodDescriptionprotected voidDisruptorUnitOfWork.addHandler(UnitOfWork.Phase phase, Consumer<UnitOfWork<T>> handler) protected voidDisruptorUnitOfWork.notifyHandlers(UnitOfWork.Phase phase) -
Uses of UnitOfWork.Phase in org.axonframework.messaging.unitofwork
Methods in org.axonframework.messaging.unitofwork that return UnitOfWork.PhaseModifier and TypeMethodDescriptionAbstractUnitOfWork.phase()UnitOfWork.phase()Returns the current phase of the Unit of Work.static UnitOfWork.PhaseReturns the enum constant of this class with the specified name.static UnitOfWork.Phase[]UnitOfWork.Phase.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.axonframework.messaging.unitofwork with parameters of type UnitOfWork.PhaseModifier and TypeMethodDescriptionprotected abstract voidAbstractUnitOfWork.addHandler(UnitOfWork.Phase phase, Consumer<UnitOfWork<T>> handler) Register the givenhandlerwith the Unit of Work.protected voidBatchingUnitOfWork.addHandler(UnitOfWork.Phase phase, Consumer<UnitOfWork<T>> handler) protected voidDefaultUnitOfWork.addHandler(UnitOfWork.Phase phase, Consumer<UnitOfWork<T>> handler) voidMessageProcessingContext.addHandler(UnitOfWork.Phase phase, Consumer<UnitOfWork<T>> handler) Adds a handler to the collection.protected voidAbstractUnitOfWork.changePhase(UnitOfWork.Phase... phases) Ask the unit of work to transition to the givenphasessequentially.booleanUnitOfWork.Phase.isAfter(UnitOfWork.Phase phase) Check if this Phase comes after given otherphase.booleanUnitOfWork.Phase.isBefore(UnitOfWork.Phase phase) Check if this Phase comes before given otherphase.protected abstract voidAbstractUnitOfWork.notifyHandlers(UnitOfWork.Phase phase) Notify the handlers attached to the givenphase.protected voidBatchingUnitOfWork.notifyHandlers(UnitOfWork.Phase phase) protected voidDefaultUnitOfWork.notifyHandlers(UnitOfWork.Phase phase) voidMessageProcessingContext.notifyHandlers(UnitOfWork<T> unitOfWork, UnitOfWork.Phase phase) Invoke the handlers in this collection attached to the givenphase.protected voidAbstractUnitOfWork.setPhase(UnitOfWork.Phase phase) Overwrite the current phase with the givenphase.