Module lettuce.core

Class PatternMessage<K,​V>

java.lang.Object
io.lettuce.core.pubsub.api.reactive.PatternMessage<K,​V>

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

    • PatternMessage

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

    • getPattern

      public K getPattern()
      Returns:
      the pattern
    • getChannel

      public K getChannel()
      Returns:
      the channel
    • getMessage

      public V getMessage()
      Returns:
      the message