Class ArrayHeaderRedisMessage

java.lang.Object
io.netty.handler.codec.redis.ArrayHeaderRedisMessage
All Implemented Interfaces:
RedisMessage

@UnstableApi public class ArrayHeaderRedisMessage extends java.lang.Object implements RedisMessage
Header of Redis Array Message.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a ArrayHeaderRedisMessage for the given length.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the content of this message is null.
    final long
    Get length of this array object.
    java.lang.String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • length

      private final long length
  • Constructor Details

    • ArrayHeaderRedisMessage

      public ArrayHeaderRedisMessage(long length)
      Creates a ArrayHeaderRedisMessage for the given length.
  • Method Details

    • length

      public final long length()
      Get length of this array object.
    • isNull

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

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