Interface RTopicReactive<M>

  • Type Parameters:
    M - the type of message object
    All Known Implementing Classes:
    RedissonTopicReactive

    public interface RTopicReactive<M>
    Distributed topic. Messages are delivered to all message listeners across Redis cluster.
    Author:
    Nikita Koksharov
    • Method Detail

      • publish

        org.reactivestreams.Publisher<Long> publish​(M message)
        Publish the message to all subscribers of this topic asynchronously
        Parameters:
        message - to send
        Returns:
        the Future object with number of clients that received the message
      • removeListener

        void removeListener​(int listenerId)