インターフェースの使用
org.springframework.modulith.events.EventPublication
EventPublication を使用するパッケージ
org.springframework.modulith.events 内の EventPublication 使用
型 EventPublication の引数を持つ型を返す org.springframework.modulith.events のメソッド修飾子と型メソッド説明CollectionSE<? extends EventPublication>CompletedEventPublications.findAll()すでに完了しているすべてのEventPublicationを返します。ResubmissionOptions.getFilter()型 EventPublication のパラメーターを持つ org.springframework.modulith.events のメソッド型 EventPublication の型引数を持つ org.springframework.modulith.events のメソッドパラメーター修飾子と型メソッド説明voidCompletedEventPublications.deletePublications(PredicateSE<EventPublication> filter) 指定されたPredicateSE に一致するすべてのEventPublicationを削除します。voidIncompleteEventPublications.resubmitIncompletePublications(PredicateSE<EventPublication> filter) 不完全なEventPublicationが登録されているイベントの再送信をトリガーします。ResubmissionOptions.withFilter(PredicateSE<EventPublication> filter) 再送信の試行で再送信するEventPublicationを構成します。org.springframework.modulith.events.core 内の EventPublication 使用
org.springframework.modulith.events.core 内の EventPublication サブインターフェースEventPublication を実装している org.springframework.modulith.events.core のクラス型 EventPublication の型引数を持つ org.springframework.modulith.events.core のメソッドパラメーター修飾子と型メソッド説明voidDefaultEventPublicationRegistry.deletePublications(PredicateSE<EventPublication> filter) voidDefaultEventPublicationRegistry.processIncompletePublications(PredicateSE<EventPublication> filter, ConsumerSE<TargetEventPublication> consumer, @Nullable DurationSE duration) voidEventPublicationRegistry.processIncompletePublications(PredicateSE<EventPublication> filter, ConsumerSE<TargetEventPublication> consumer, @Nullable DurationSE duration) 残りのすべてのインスタンスを指定されたConsumerSE に渡す指定されたフィルターを適用することにより、「現在」を基準として指定された期間より前に公開されたすべての不完全なイベント公開を処理します。org.springframework.modulith.events.support 内の EventPublication 使用
型 EventPublication の型引数を持つ org.springframework.modulith.events.support のメソッドパラメーター修飾子と型メソッド説明voidPersistentApplicationEventMulticaster.resubmitIncompletePublications(PredicateSE<EventPublication> filter)