Package de.otto.synapse.messagestore
Interface MessageStoreFactory<T extends MessageStore>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface MessageStoreFactory<T extends MessageStore>
A factory used to create
MessageStore instances.-
Method Summary
Modifier and Type Method Description TcreateMessageStoreFor(java.lang.String channelName)Creates and returns aMessageStore.
-
Method Details
-
createMessageStoreFor
Creates and returns aMessageStore.- Parameters:
channelName- the name of the channel associated to theMessageStore.- Returns:
- MessageStore
-