Class ArrayRedisMessage

  • All Implemented Interfaces:
    RedisMessage, io.netty.util.ReferenceCounted

    @UnstableApi
    public class ArrayRedisMessage
    extends io.netty.util.AbstractReferenceCounted
    implements RedisMessage
    Arrays of RESP.
    • Constructor Detail

      • ArrayRedisMessage

        public ArrayRedisMessage​(List<RedisMessage> children)
        Creates a ArrayRedisMessage for the given content.
        Parameters:
        children - the children.
    • Method Detail

      • children

        public final List<RedisMessage> children()
        Get children of this Arrays. It can be null or empty.
        Returns:
        list of RedisMessages.
      • isNull

        public boolean isNull()
        Returns whether the content of this message is null.
        Returns:
        indicates whether the content of this message is null.
      • deallocate

        protected void deallocate()
        Specified by:
        deallocate in class io.netty.util.AbstractReferenceCounted
      • touch

        public ArrayRedisMessage touch​(Object hint)
        Specified by:
        touch in interface io.netty.util.ReferenceCounted