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
      T createMessageStoreFor​(java.lang.String channelName)
      Creates and returns a MessageStore.
    • Method Detail

      • createMessageStoreFor

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