public class SimpleMessageGroupFactory extends ObjectSE implements MessageGroupFactory
SimpleMessageGroup インスタンスを生成するための MessageGroupFactory 実装。SimpleMessageGroupFactory.GroupType 修飾子は、SimpleMessageGroup の内部コレクションを指定します。SimpleMessageGroupFactory.GroupType.HASH_SET がデフォルトの型です。| 修飾子と型 | クラスと説明 |
|---|---|
static class | SimpleMessageGroupFactory.GroupType |
| コンストラクターと説明 |
|---|
SimpleMessageGroupFactory() |
SimpleMessageGroupFactory(SimpleMessageGroupFactory.GroupType type) |
| 修飾子と型 | メソッドと説明 |
|---|---|
MessageGroup | create(CollectionSE<? extends Message<?>> messages, ObjectSE groupId) |
MessageGroup | create(CollectionSE<? extends Message<?>> messages, ObjectSE groupId, long timestamp, boolean complete) |
MessageGroup | create(MessageGroupStore messageGroupStore, ObjectSE groupId) 提供された groupId に基づいて MessageGroup インスタンスを作成します。 |
MessageGroup | create(MessageGroupStore messageGroupStore, ObjectSE groupId, long timestamp, boolean complete) 提供された groupId に基づいて MessageGroup インスタンスを作成します。 |
MessageGroup | create(ObjectSE groupId) 提供された groupId に基づいて MessageGroup インスタンスを作成します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic SimpleMessageGroupFactory()
public SimpleMessageGroupFactory(SimpleMessageGroupFactory.GroupType type)
public MessageGroup create(ObjectSE groupId)
MessageGroupFactorygroupId に基づいて MessageGroup インスタンスを作成します。MessageGroupFactory の create groupId - 使用するグループ ID。MessageGroup インスタンス。public MessageGroup create(CollectionSE<? extends Message<?>> messages, ObjectSE groupId)
MessageGroupFactoryMessageGroupFactory の create messages - グループへのメッセージ。groupId - 使用するグループ ID。MessageGroup インスタンス。public MessageGroup create(CollectionSE<? extends Message<?>> messages, ObjectSE groupId, long timestamp, boolean complete)
MessageGroupFactorygroupId に基づいて、グループの messages を使用して MessageGroup インスタンスを作成します。さらに、timestamp および complete フラグの作成を使用して、ターゲット MessageGroup オブジェクトをカスタマイズできます。MessageGroupFactory の create messages - グループへのメッセージ。groupId - 使用するグループ ID。timestamp - 作成時間。complete - グループが完了したことを示す boolean フラグ。MessageGroup インスタンス。public MessageGroup create(MessageGroupStore messageGroupStore, ObjectSE groupId)
MessageGroupFactorygroupId に基づいて MessageGroup インスタンスを作成します。MessageGroup のメッセージとメタデータについては、MessageGroupStore を参照できます。MessageGroupFactory の create messageGroupStore - 追加の MessageGroup 情報については MessageGroupStore。groupId - 使用するグループ ID。MessageGroup インスタンス。public MessageGroup create(MessageGroupStore messageGroupStore, ObjectSE groupId, long timestamp, boolean complete)
MessageGroupFactorygroupId に基づいて MessageGroup インスタンスを作成します。MessageGroup のメッセージとメタデータについては、MessageGroupStore を参照できます。さらに、timestamp および complete フラグの作成を使用して、ターゲット MessageGroup オブジェクトをカスタマイズできます。MessageGroupFactory の create messageGroupStore - 追加の MessageGroup 情報については MessageGroupStore。groupId - 使用するグループ ID。timestamp - 作成時間。complete - グループが完了したことを示す boolean フラグ。MessageGroup インスタンス。