Uses of Interface
org.axonframework.messaging.core.unitofwork.ProcessingLifecycle.Phase
Packages that use ProcessingLifecycle.Phase
Package
Description
Definitions and implementations of the Event store, the mechanism that can load event streams and append events to
them.
Part of the Axon Messaging module.
-
Uses of ProcessingLifecycle.Phase in org.axonframework.eventsourcing.eventstore
Fields in org.axonframework.eventsourcing.eventstore declared as ProcessingLifecycle.PhaseModifier and TypeFieldDescriptionstatic final ProcessingLifecycle.PhaseEventStoreTransaction.APPEND_EVENTSPhase in which the eventsappendedwithin aProcessingContextare handed to theEventStorageEngineas a single batch. -
Uses of ProcessingLifecycle.Phase in org.axonframework.messaging.core.unitofwork
Classes in org.axonframework.messaging.core.unitofwork that implement ProcessingLifecycle.PhaseModifier and TypeClassDescriptionstatic enumDefault phases used for the shorthand methods in theProcessingLifecycle.Methods in org.axonframework.messaging.core.unitofwork with parameters of type ProcessingLifecycle.PhaseModifier and TypeMethodDescriptionvoidProcessingLifecycle.ErrorHandler.handle(ProcessingContext processingContext, ProcessingLifecycle.Phase phase, Throwable error) Invoked when an error is detected in aProcessingLifecycleand it has been aborted.voidProcessingLifecycleInterceptor.interceptError(ProcessingContext context, @Nullable ProcessingLifecycle.Phase failedPhase, Throwable cause, Runnable action) Invoked on the thread that executes theaction, immediately around it.ProcessingLifecycleInterceptor.interceptPhase(ProcessingContext context, ProcessingLifecycle.Phase phase, Supplier<CompletableFuture<?>> action) Invoked on the thread that executes theaction, immediately around it.default booleanProcessingLifecycle.Phase.isAfter(ProcessingLifecycle.Phase other) default booleanProcessingLifecycle.Phase.isBefore(ProcessingLifecycle.Phase other) LegacyMessageSupportingContext.on(ProcessingLifecycle.Phase phase, Function<ProcessingContext, CompletableFuture<?>> action) Deprecated.ProcessingLifecycle.on(ProcessingLifecycle.Phase phase, Function<ProcessingContext, CompletableFuture<?>> action) Registers the providedactionto be executed in the givenphase.ResourceOverridingProcessingContext.on(ProcessingLifecycle.Phase phase, Function<ProcessingContext, CompletableFuture<?>> action) UnitOfWork.on(ProcessingLifecycle.Phase phase, Function<ProcessingContext, CompletableFuture<?>> action) default ProcessingLifecycleProcessingLifecycle.runOn(ProcessingLifecycle.Phase phase, Consumer<ProcessingContext> action) Registers the providedactionto be executed in the givenphase.ResourceOverridingProcessingContext.runOn(ProcessingLifecycle.Phase phase, Consumer<ProcessingContext> action)