Uses of Interface
org.springframework.modulith.events.EventPublication
Packages that use EventPublication
Package
Description
API of the event publication registry abstraction.
Spring configuration for the Event Publication Registry.
The event publication registry abstraction.
-
Uses of EventPublication in org.springframework.modulith.events
Methods in org.springframework.modulith.events that return types with arguments of type EventPublicationModifier and TypeMethodDescriptionCollection<? extends EventPublication>AbandonedEventPublications.findAll()Returns allEventPublications that have been abandoned.Collection<? extends EventPublication>CompletedEventPublications.findAll()Returns allEventPublications that have already been completed.ResubmissionOptions.getFilter()Methods in org.springframework.modulith.events with parameters of type EventPublicationModifier and TypeMethodDescriptiondefault intEventPublication.compareTo(EventPublication that) AbandonPolicy.shouldAbandon(EventPublication publication) Returns theAbandonPolicy.Decisionfor the givenEventPublication.Method parameters in org.springframework.modulith.events with type arguments of type EventPublicationModifier and TypeMethodDescriptionvoidAbandonedEventPublications.deletePublications(Predicate<EventPublication> filter) Deletes allEventPublications matching the givenPredicate.voidCompletedEventPublications.deletePublications(Predicate<EventPublication> filter) Deletes allEventPublications matching the givenPredicate.voidIncompleteEventPublications.resubmitIncompletePublications(Predicate<EventPublication> filter) Deprecated, for removal: This API element is subject to removal in a future version.Triggers the re-submission of events for which incompleteEventPublications are registered.ResubmissionOptions.withFilter(Predicate<EventPublication> filter) Configures whichEventPublications to resubmit in a re-submission attempt. -
Uses of EventPublication in org.springframework.modulith.events.config
Methods in org.springframework.modulith.events.config with parameters of type EventPublicationModifier and TypeMethodDescription(package private) booleanResubmissionProperties.shouldAbandon(EventPublication publication) Returns whether the givenEventPublicationshould be abandoned according to the configuredResubmissionProperties.abandonAfterAttemptsthreshold. -
Uses of EventPublication in org.springframework.modulith.events.core
Subinterfaces of EventPublication in org.springframework.modulith.events.coreClasses in org.springframework.modulith.events.core that implement EventPublicationModifier and TypeClassDescription(package private) classDefaultTargetEventPublicationimplementation.Methods in org.springframework.modulith.events.core with parameters of type EventPublicationModifier and TypeMethodDescriptionbooleanAbandonPolicies.shouldAbandon(EventPublication publication) Returns whether the givenEventPublicationshould be abandoned.Method parameters in org.springframework.modulith.events.core with type arguments of type EventPublicationModifier and TypeMethodDescriptionvoidDefaultAbandonedEventPublications.deletePublications(Predicate<EventPublication> filter) voidDefaultEventPublicationRegistry.deletePublications(Predicate<EventPublication> filter) voidDefaultEventPublicationRegistry.processIncompletePublications(Predicate<EventPublication> filter, Consumer<TargetEventPublication> consumer, @Nullable Duration duration) voidEventPublicationRegistry.processIncompletePublications(Predicate<EventPublication> filter, Consumer<TargetEventPublication> consumer, @Nullable 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.voidDefaultFailedEventPublications.resubmitIncompletePublications(Predicate<EventPublication> filter) Constructor parameters in org.springframework.modulith.events.core with type arguments of type EventPublicationModifierConstructorDescriptionAbandonPolicies(List<AbandonPolicy> userPolicies, Predicate<EventPublication> defaultPolicy) Creates a newAbandonPoliciesfor the given user-suppliedAbandonPolicyinstances and default policy.