@UnstableApi public class ArrayRedisMessage extends io.netty.util.AbstractReferenceCounted implements RedisMessage
Modifier and Type | Field and Description |
---|---|
static ArrayRedisMessage |
EMPTY_INSTANCE
A predefined empty array instance for
ArrayRedisMessage . |
static ArrayRedisMessage |
NULL_INSTANCE
A predefined null array instance for
ArrayRedisMessage . |
Constructor and Description |
---|
ArrayRedisMessage(List<RedisMessage> children)
Creates a
ArrayRedisMessage for the given content . |
Modifier and Type | Method and Description |
---|---|
List<RedisMessage> |
children()
Get children of this Arrays.
|
protected void |
deallocate() |
boolean |
isNull()
Returns whether the content of this message is
null . |
String |
toString() |
ArrayRedisMessage |
touch(Object hint) |
public static final ArrayRedisMessage NULL_INSTANCE
ArrayRedisMessage
.public static final ArrayRedisMessage EMPTY_INSTANCE
ArrayRedisMessage
.public ArrayRedisMessage(List<RedisMessage> children)
ArrayRedisMessage
for the given content
.children
- the children.public final List<RedisMessage> children()
RedisMessage
s.public boolean isNull()
null
.null
.protected void deallocate()
deallocate
in class io.netty.util.AbstractReferenceCounted
public ArrayRedisMessage touch(Object hint)
touch
in interface io.netty.util.ReferenceCounted
Copyright © 2008–2021 The Netty Project. All rights reserved.