クラス MongoDbEventPublication
java.lang.ObjectSE
org.springframework.modulith.events.mongodb.MongoDbEventPublication
イベントのパブリケーションを表す MongoDB ドキュメント。
- 作成者:
- Dmitry Belyaev, Bj ö rn Kieling
フィールドサマリー
コンストラクターのサマリー
コンストラクター説明MongoDbEventPublication
(UUIDSE id, InstantSE publicationDate, StringSE listenerId, ObjectSE event) 指定された発行日、リスナー ID、イベントに対して新しいMongoDbEventPublication
を作成します。MongoDbEventPublication
(UUIDSE id, InstantSE publicationDate, StringSE listenerId, ObjectSE event, InstantSE completionDate) 指定された ID、公開日、リスナー ID、イベント、完了日に対して新しいMongoDbEventPublication
を作成します。メソッドのサマリー
修飾子と型メソッド説明(package private) MongoDbEventPublication
markCompleted
(InstantSE instant) 指定されたInstant
SE でパブリケーションを完了としてマークします。
フィールドの詳細
id
publicationDate
listenerId
event
completionDate
コンストラクターの詳細
MongoDbEventPublication
MongoDbEventPublication(UUIDSE id, InstantSE publicationDate, StringSE listenerId, ObjectSE event, @Nullable InstantSE completionDate) 指定された ID、公開日、リスナー ID、イベント、完了日に対して新しいMongoDbEventPublication
を作成します。- パラメーター:
id
- null であってはなりません。publicationDate
- null であってはなりません。listenerId
- null または空であってはなりません。event
- null であってはなりません。completionDate
- null でもかまいません。
MongoDbEventPublication
指定された発行日、リスナー ID、イベントに対して新しいMongoDbEventPublication
を作成します。- パラメーター:
publicationDate
- null であってはなりません。listenerId
- null であってはなりません。event
- null であってはなりません。
メソッドの詳細
markCompleted
指定されたInstant
SE でパブリケーションを完了としてマークします。- パラメーター:
instant
- null であってはなりません。- 戻り値:
- null になることはありません。