クラス MongoDbEventPublication

java.lang.ObjectSE
org.springframework.modulith.events.mongodb.MongoDbEventPublication

class MongoDbEventPublication extends ObjectSE
イベントのパブリケーションを表す MongoDB ドキュメント。
作成者:
Dmitry Belyaev, Bj ö rn Kieling
  • フィールドの詳細

  • コンストラクターの詳細

    • 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

      MongoDbEventPublication(UUIDSE id, InstantSE publicationDate, StringSE listenerId, ObjectSE event)
      指定された発行日、リスナー ID、イベントに対して新しい MongoDbEventPublication を作成します。
      パラメーター:
      publicationDate - null であってはなりません。
      listenerId - null であってはなりません。
      event - null であってはなりません。
  • メソッドの詳細

    • markCompleted

      MongoDbEventPublication markCompleted(InstantSE instant)
      指定された InstantSE でパブリケーションを完了としてマークします。
      パラメーター:
      instant - null であってはなりません。
      戻り値:
      null になることはありません。