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 createMessageStoreinstances.
-
-
Method Summary
Modifier and Type Method Description TcreateMessageStoreFor(java.lang.String channelName)Creates and returns aMessageStore.
-
-
-
Method Detail
-
createMessageStoreFor
T createMessageStoreFor(@Nonnull java.lang.String channelName)
Creates and returns aMessageStore.- Parameters:
channelName- the name of the channel associated to theMessageStore.- Returns:
- MessageStore
-
-