Class PatternMessage<K,​V>


  • public class PatternMessage<K,​V>
    extends Object
    Message payload for a subscription to a pattern.
    Author:
    Mark Paluch
    • Constructor Detail

      • PatternMessage

        public PatternMessage​(K pattern,
                              K channel,
                              V message)
        Parameters:
        pattern - the pattern
        channel - the channel
        message - the message
    • Method Detail

      • getPattern

        public K getPattern()
        Returns:
        the pattern
      • getChannel

        public K getChannel()
        Returns:
        the channel
      • getMessage

        public V getMessage()
        Returns:
        the message