Uses of Interface
org.springframework.modulith.events.EventPublication
Package
Description
API of the event publication registry abstraction.
The event publication registry abstraction.
Spring Framework extensions to integrate the event publication registry.
-
Uses of EventPublication in org.springframework.modulith.events
Modifier and TypeMethodDescriptionCollection<? extends EventPublication>
CompletedEventPublications.findAll()
Returns allEventPublication
s that have already been completed.Modifier and TypeMethodDescriptionvoid
CompletedEventPublications.deletePublications
(Predicate<EventPublication> filter) Deletes allEventPublication
s matching the givenPredicate
.void
IncompleteEventPublications.resubmitIncompletePublications
(Predicate<EventPublication> filter) Triggers the re-submission of events for which incompleteEventPublication
s are registered. -
Uses of EventPublication in org.springframework.modulith.events.core
Modifier and TypeMethodDescriptionvoid
DefaultEventPublicationRegistry.deletePublications
(Predicate<EventPublication> filter) void
DefaultEventPublicationRegistry.processIncompletePublications
(Predicate<EventPublication> filter, Consumer<TargetEventPublication> consumer, Duration duration) void
EventPublicationRegistry.processIncompletePublications
(Predicate<EventPublication> filter, Consumer<TargetEventPublication> consumer, Duration duration) Processes all incomplete event publications that have been published before the given duration in relation to "now" by applying the given filter passing all remaining instances to the givenConsumer
. -
Uses of EventPublication in org.springframework.modulith.events.support
Modifier and TypeMethodDescriptionvoid
PersistentApplicationEventMulticaster.resubmitIncompletePublications
(Predicate<EventPublication> filter)