Class RedisDecoder

    • Constructor Detail

      • RedisDecoder

        public RedisDecoder()
        Creates a new instance with default maxInlineMessageLength and messagePool and inline command decoding disabled.
      • RedisDecoder

        public RedisDecoder​(boolean decodeInlineCommands)
        Creates a new instance with default maxInlineMessageLength and messagePool.
        Parameters:
        decodeInlineCommands - if true, inline commands will be decoded.
      • RedisDecoder

        public RedisDecoder​(int maxInlineMessageLength,
                            RedisMessagePool messagePool)
        Creates a new instance with inline command decoding disabled.
        Parameters:
        maxInlineMessageLength - the maximum length of inline message.
        messagePool - the predefined message pool.
      • RedisDecoder

        public RedisDecoder​(int maxInlineMessageLength,
                            RedisMessagePool messagePool,
                            boolean decodeInlineCommands)
        Creates a new instance.
        Parameters:
        maxInlineMessageLength - the maximum length of inline message.
        messagePool - the predefined message pool.
        decodeInlineCommands - if true, inline commands will be decoded.