Uses of Interface
org.springframework.modulith.events.core.TargetEventPublication
Packages that use TargetEventPublication
Package
Description
The event publication registry abstraction.
JDBC integration for
EventPublicationRepository
.JPA integration for
EventPublicationRepository
.MongoDB integration for
EventPublicationRepository
.Neo4j integration for
EventPublicationRepository
.-
Uses of TargetEventPublication in org.springframework.modulith.events.core
Classes in org.springframework.modulith.events.core that implement TargetEventPublicationMethods in org.springframework.modulith.events.core that return TargetEventPublicationModifier and TypeMethodDescriptionEventPublicationRepository.create
(TargetEventPublication publication) Persists the givenTargetEventPublication
.static TargetEventPublication
TargetEventPublication.of
(Object event, PublicationTargetIdentifier id) Creates aTargetEventPublication
for the given event an listener identifier using a defaultInstant
.static TargetEventPublication
TargetEventPublication.of
(Object event, PublicationTargetIdentifier id, Instant publicationDate) Creates aTargetEventPublication
for the given event an listener identifier and publication date.Methods in org.springframework.modulith.events.core that return types with arguments of type TargetEventPublicationModifier and TypeMethodDescriptionCollection<? extends TargetEventPublication>
DefaultEventPublicationRegistry.findAll()
default List<TargetEventPublication>
EventPublicationRepository.findCompletedPublications()
Returns all completed event publications currently found in the system.DefaultEventPublicationRegistry.findIncompletePublications()
EventPublicationRegistry.findIncompletePublications()
Returns allTargetEventPublication
s that have not been completed yet.EventPublicationRepository.findIncompletePublications()
Returns allTargetEventPublication
s that have not been completed yet.EventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) Return the incompleteTargetEventPublication
for the given serialized event and listener identifier.DefaultEventPublicationRegistry.findIncompletePublicationsOlderThan
(Duration duration) EventPublicationRegistry.findIncompletePublicationsOlderThan
(Duration duration) Returns allTargetEventPublication
s that have not been completed yet and have been published before the given duration in relation to "now".EventPublicationRepository.findIncompletePublicationsPublishedBefore
(Instant instant) Returns allTargetEventPublication
s that have not been completed and were published before the givenInstant
.DefaultEventPublicationRegistry.store
(Object event, Stream<PublicationTargetIdentifier> listeners) EventPublicationRegistry.store
(Object event, Stream<PublicationTargetIdentifier> listeners) StoresTargetEventPublication
s for the given event andApplicationListener
s.Methods in org.springframework.modulith.events.core with parameters of type TargetEventPublicationModifier and TypeMethodDescriptionEventPublicationRepository.create
(TargetEventPublication publication) Persists the givenTargetEventPublication
.default void
EventPublicationRepository.markCompleted
(TargetEventPublication publication, Instant completionDate) Marks the givenTargetEventPublication
as completed. -
Uses of TargetEventPublication in org.springframework.modulith.events.jdbc
Methods in org.springframework.modulith.events.jdbc that return TargetEventPublicationModifier and TypeMethodDescriptionJdbcEventPublicationRepository.create
(TargetEventPublication publication) Methods in org.springframework.modulith.events.jdbc that return types with arguments of type TargetEventPublicationModifier and TypeMethodDescriptionJdbcEventPublicationRepository.findCompletedPublications()
JdbcEventPublicationRepository.findIncompletePublications()
JdbcEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) JdbcEventPublicationRepository.findIncompletePublicationsPublishedBefore
(Instant instant) Methods in org.springframework.modulith.events.jdbc with parameters of type TargetEventPublicationModifier and TypeMethodDescriptionJdbcEventPublicationRepository.create
(TargetEventPublication publication) -
Uses of TargetEventPublication in org.springframework.modulith.events.jpa
Methods in org.springframework.modulith.events.jpa that return TargetEventPublicationModifier and TypeMethodDescriptionJpaEventPublicationRepository.create
(TargetEventPublication publication) Methods in org.springframework.modulith.events.jpa that return types with arguments of type TargetEventPublicationModifier and TypeMethodDescriptionJpaEventPublicationRepository.findCompletedPublications()
JpaEventPublicationRepository.findIncompletePublications()
JpaEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) JpaEventPublicationRepository.findIncompletePublicationsPublishedBefore
(Instant instant) Methods in org.springframework.modulith.events.jpa with parameters of type TargetEventPublicationModifier and TypeMethodDescriptionJpaEventPublicationRepository.create
(TargetEventPublication publication) -
Uses of TargetEventPublication in org.springframework.modulith.events.mongodb
Methods in org.springframework.modulith.events.mongodb that return TargetEventPublicationModifier and TypeMethodDescriptionMongoDbEventPublicationRepository.create
(TargetEventPublication publication) Methods in org.springframework.modulith.events.mongodb that return types with arguments of type TargetEventPublicationModifier and TypeMethodDescriptionMongoDbEventPublicationRepository.findCompletedPublications()
MongoDbEventPublicationRepository.findIncompletePublications()
MongoDbEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) MongoDbEventPublicationRepository.findIncompletePublicationsPublishedBefore
(Instant instant) Methods in org.springframework.modulith.events.mongodb with parameters of type TargetEventPublicationModifier and TypeMethodDescriptionMongoDbEventPublicationRepository.create
(TargetEventPublication publication) -
Uses of TargetEventPublication in org.springframework.modulith.events.neo4j
Methods in org.springframework.modulith.events.neo4j that return TargetEventPublicationModifier and TypeMethodDescriptionNeo4jEventPublicationRepository.create
(TargetEventPublication publication) Methods in org.springframework.modulith.events.neo4j that return types with arguments of type TargetEventPublicationModifier and TypeMethodDescriptionNeo4jEventPublicationRepository.findCompletedPublications()
Neo4jEventPublicationRepository.findIncompletePublications()
Neo4jEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(Object event, PublicationTargetIdentifier targetIdentifier) Neo4jEventPublicationRepository.findIncompletePublicationsPublishedBefore
(Instant instant) Methods in org.springframework.modulith.events.neo4j with parameters of type TargetEventPublicationModifier and TypeMethodDescriptionNeo4jEventPublicationRepository.create
(TargetEventPublication publication)