public interface MessageGroupFactory
MessageGroup factory strategy.
This strategy is used from the MessageGroup-aware components, e.g. MessageGroupStore.| Modifier and Type | Method and Description |
|---|---|
MessageGroup |
create(Collection<? extends Message<?>> messages,
Object groupId) |
MessageGroup |
create(Collection<? extends Message<?>> messages,
Object groupId,
long timestamp,
boolean complete) |
MessageGroup |
create(Object groupId) |
MessageGroup create(Object groupId)
MessageGroup create(Collection<? extends Message<?>> messages, Object groupId)
MessageGroup create(Collection<? extends Message<?>> messages, Object groupId, long timestamp, boolean complete)