Package io.netty.handler.codec.redis
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.
-
-
Constructor Summary
Constructors Constructor Description ArrayHeaderRedisMessage(long length)
Creates aArrayHeaderRedisMessage
for the givenlength
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isNull()
Returns whether the content of this message isnull
.long
length()
Get length of this array object.java.lang.String
toString()
-
-
-
Constructor Detail
-
ArrayHeaderRedisMessage
public ArrayHeaderRedisMessage(long length)
Creates aArrayHeaderRedisMessage
for the givenlength
.
-
-
Method Detail
-
length
public final long length()
Get length of this array object.
-
isNull
public boolean isNull()
Returns whether the content of this message isnull
.- Returns:
- indicates whether the content of this message is
null
.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-