Class ArrayRedisMessage

    • Constructor Detail

      • ArrayRedisMessage

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

      • children

        public final java.util.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.
      • touch

        public ArrayRedisMessage touch​(java.lang.Object hint)
        Description copied from interface: ReferenceCounted
        Records the current access location of this object with an additional arbitrary information for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector.
        Specified by:
        touch in interface ReferenceCounted
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object