クラス SimpleMessageGroupFactory

java.lang.ObjectSE
org.springframework.integration.store.SimpleMessageGroupFactory
実装済みのインターフェース一覧:
MessageGroupFactory

public class SimpleMessageGroupFactory extends ObjectSE implements MessageGroupFactory
SimpleMessageGroup インスタンスを生成するための MessageGroupFactory 実装。SimpleMessageGroupFactory.GroupType 修飾子は、SimpleMessageGroup の内部コレクションを指定します。SimpleMessageGroupFactory.GroupType.HASH_SET がデフォルトの型です。
導入:
4.3
作成者:
Artem Bilan
  • コンストラクターの詳細

  • メソッドの詳細

    • create

      public MessageGroup create(ObjectSE groupId)
      インターフェースからコピーされた説明: MessageGroupFactory
      提供された groupId に基づいて MessageGroup インスタンスを作成します。
      次で指定:
      インターフェース MessageGroupFactorycreate 
      パラメーター:
      groupId - 使用するグループ ID。
      戻り値:
      MessageGroup インスタンス。
    • create

      public MessageGroup create(CollectionSE<? extends Message<?>> messages, ObjectSE groupId)
      インターフェースからコピーされた説明: MessageGroupFactory
      提供された groupId に基づいて、グループの messages を使用して MessageGroup インスタンスを作成します。
      次で指定:
      インターフェース MessageGroupFactorycreate 
      パラメーター:
      messages - グループへのメッセージ。
      groupId - 使用するグループ ID。
      戻り値:
      MessageGroup インスタンス。
    • create

      public MessageGroup create(CollectionSE<? extends Message<?>> messages, ObjectSE groupId, long timestamp, boolean complete)
      インターフェースからコピーされた説明: MessageGroupFactory
      提供された groupId とグループの messages に基づいて、MessageGroup インスタンスを作成します。さらに、timestamp および complete の作成フラグを使用して、対象の MessageGroup オブジェクトをカスタマイズすることもできます。
      次で指定:
      インターフェース MessageGroupFactorycreate 
      パラメーター:
      messages - グループへのメッセージ。
      groupId - 使用するグループ ID。
      timestamp - 作成時間。
      complete - グループが完了したことを示す boolean フラグ。
      戻り値:
      MessageGroup インスタンス。
    • create

      public MessageGroup create(MessageGroupStore messageGroupStore, ObjectSE groupId)
      インターフェースからコピーされた説明: MessageGroupFactory
      提供された groupId に基づいて MessageGroup インスタンスを作成します。MessageGroup のメッセージとメタデータについては、MessageGroupStore を参照できます。
      次で指定:
      インターフェース MessageGroupFactorycreate 
      パラメーター:
      messageGroupStore - 追加の MessageGroup 情報については MessageGroupStore
      groupId - 使用するグループ ID。
      戻り値:
      MessageGroup インスタンス。
    • create

      public MessageGroup create(MessageGroupStore messageGroupStore, ObjectSE groupId, long timestamp, boolean complete)
      インターフェースからコピーされた説明: MessageGroupFactory
      提供された groupId に基づいて MessageGroup インスタンスを作成します。MessageGroupStore は、MessageGroup のメッセージとメタデータを参照できます。さらに、timestamp および complete の作成フラグを使用して、対象の MessageGroup オブジェクトをカスタマイズできます。
      次で指定:
      インターフェース MessageGroupFactorycreate 
      パラメーター:
      messageGroupStore - 追加の MessageGroup 情報については MessageGroupStore
      groupId - 使用するグループ ID。
      timestamp - 作成時間。
      complete - グループが完了したことを示す boolean フラグ。
      戻り値:
      MessageGroup インスタンス。