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 Details

    • createMessageStoreFor

      T createMessageStoreFor(@Nonnull String channelName)
      Creates and returns a MessageStore.
      Parameters:
      channelName - the name of the channel associated to the MessageStore.
      Returns:
      MessageStore