インターフェースの使用
org.springframework.modulith.events.core.TargetEventPublication
TargetEventPublication を使用するパッケージ
パッケージ
説明
イベント発行レジストリの抽象化。
EventPublicationRepository
の JDBC 統合。EventPublicationRepository
の JPA 統合。EventPublicationRepository
の MongoDB 統合。EventPublicationRepository
の Neo4j 統合。org.springframework.modulith.events.core 内の TargetEventPublication 使用
修飾子と型メソッド説明EventPublicationRepository.create
(TargetEventPublication publication) 指定されたTargetEventPublication
を永続化します。static TargetEventPublication
TargetEventPublication.of
(ObjectSE event, PublicationTargetIdentifier id) デフォルトのInstant
SE を使用して、指定されたイベントおよびリスナー識別子のTargetEventPublication
を作成します。static TargetEventPublication
TargetEventPublication.of
(ObjectSE event, PublicationTargetIdentifier id, InstantSE publicationDate) 指定されたイベント、リスナー識別子および発行日のTargetEventPublication
を作成します。型 TargetEventPublication の引数を持つ型を返す org.springframework.modulith.events.core のメソッド修飾子と型メソッド説明CollectionSE<? extends TargetEventPublication>
DefaultEventPublicationRegistry.findAll()
default ListSE<TargetEventPublication>
EventPublicationRepository.findCompletedPublications()
現在システム内で見つかった完了したイベントパブリケーションをすべて返します。DefaultEventPublicationRegistry.findIncompletePublications()
EventPublicationRegistry.findIncompletePublications()
まだ完了していないすべてのTargetEventPublication
を返します。EventPublicationRepository.findIncompletePublications()
まだ完了していないすべてのTargetEventPublication
を返します。EventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(ObjectSE event, PublicationTargetIdentifier targetIdentifier) 指定された直列化されたイベントおよびリスナー ID の不完全なTargetEventPublication
を返します。DefaultEventPublicationRegistry.findIncompletePublicationsOlderThan
(DurationSE duration) EventPublicationRegistry.findIncompletePublicationsOlderThan
(DurationSE duration) まだ完了しておらず、「現在」に関して指定された期間より前に公開されたすべてのTargetEventPublication
を返します。EventPublicationRepository.findIncompletePublicationsPublishedBefore
(InstantSE instant) 完了しておらず、指定されたInstant
SE より前に公開されたすべてのTargetEventPublication
を返します。DefaultEventPublicationRegistry.store
(ObjectSE event, StreamSE<PublicationTargetIdentifier> listeners) EventPublicationRegistry.store
(ObjectSE event, StreamSE<PublicationTargetIdentifier> listeners) 指定されたイベントのTargetEventPublication
とApplicationListener
を格納します。型 TargetEventPublication のパラメーターを持つ org.springframework.modulith.events.core のメソッド修飾子と型メソッド説明EventPublicationRepository.create
(TargetEventPublication publication) 指定されたTargetEventPublication
を永続化します。default void
EventPublicationRepository.markCompleted
(TargetEventPublication publication, InstantSE completionDate) 指定されたTargetEventPublication
を完了としてマークします。org.springframework.modulith.events.jdbc 内の TargetEventPublication 使用
型 TargetEventPublication の引数を持つ型を返す org.springframework.modulith.events.jdbc のメソッド修飾子と型メソッド説明JdbcEventPublicationRepository.findCompletedPublications()
JdbcEventPublicationRepository.findIncompletePublications()
JdbcEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(ObjectSE event, PublicationTargetIdentifier targetIdentifier) JdbcEventPublicationRepository.findIncompletePublicationsPublishedBefore
(InstantSE instant) 型 TargetEventPublication のパラメーターを持つ org.springframework.modulith.events.jdbc のメソッドorg.springframework.modulith.events.jpa 内の TargetEventPublication 使用
型 TargetEventPublication の引数を持つ型を返す org.springframework.modulith.events.jpa のメソッド修飾子と型メソッド説明JpaEventPublicationRepository.findCompletedPublications()
JpaEventPublicationRepository.findIncompletePublications()
JpaEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(ObjectSE event, PublicationTargetIdentifier targetIdentifier) JpaEventPublicationRepository.findIncompletePublicationsPublishedBefore
(InstantSE instant) 型 TargetEventPublication のパラメーターを持つ org.springframework.modulith.events.jpa のメソッドorg.springframework.modulith.events.mongodb 内の TargetEventPublication 使用
型 TargetEventPublication の引数を持つ型を返す org.springframework.modulith.events.mongodb のメソッド修飾子と型メソッド説明MongoDbEventPublicationRepository.findCompletedPublications()
MongoDbEventPublicationRepository.findIncompletePublications()
MongoDbEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(ObjectSE event, PublicationTargetIdentifier targetIdentifier) MongoDbEventPublicationRepository.findIncompletePublicationsPublishedBefore
(InstantSE instant) 型 TargetEventPublication のパラメーターを持つ org.springframework.modulith.events.mongodb のメソッドorg.springframework.modulith.events.neo4j 内の TargetEventPublication 使用
型 TargetEventPublication の引数を持つ型を返す org.springframework.modulith.events.neo4j のメソッド修飾子と型メソッド説明Neo4jEventPublicationRepository.findCompletedPublications()
Neo4jEventPublicationRepository.findIncompletePublications()
Neo4jEventPublicationRepository.findIncompletePublicationsByEventAndTargetIdentifier
(ObjectSE event, PublicationTargetIdentifier targetIdentifier) Neo4jEventPublicationRepository.findIncompletePublicationsPublishedBefore
(InstantSE instant) 型 TargetEventPublication のパラメーターを持つ org.springframework.modulith.events.neo4j のメソッド