Class ArrayHeaderRedisMessage
java.lang.Object
io.netty.handler.codec.redis.ArrayHeaderRedisMessage
- All Implemented Interfaces:
RedisMessage
Header of Redis Array Message.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionArrayHeaderRedisMessage(long length) Creates aArrayHeaderRedisMessagefor the givenlength. -
Method Summary
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 aArrayHeaderRedisMessagefor the givenlength.
-
-
Method Details
-
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:
toStringin classjava.lang.Object
-